GetCapItemsString()

Description

Gets the cap item value of the capability specified by Capability.

Syntax

.GetCapItemsString(index);

Parameters

<int> index: specifies the index of a cap item. The index is 0-based.

Return value

<string>

Remarks

Valid only when CapValue is TWON_ARRAY (3) or TWON_ENUMERATION (4).

Call this method after calling CapGet() method.

When an error occurs, check ErrorCode or ErrorString for error information.

See also

How to Negotiate Capability with Different Capability Container Types
Capability
CapType
CapGet()
CapSet()
SetCapItemsString()