Returns the index (0-based) of a list to indicate the Default Value when the value of the CapType property is TWON_ENUMERATION. If the data type of the capability is String, the list is in CapItemsString property. For other data types, the list is in CapItems property. This is a runtime, read-only property.
Long
ObjectName. CapDefaultIndex
Reading this property after calling CapGet() method.
The CapDefaultIndex property is 0-based and read-only.
It is valid only when the CapType property is TWON_ENUMERATION.
For information of which properties are valid for different container types, please refer to CapType property.
When an error occurs and IfThrowException property is TRUE, an exception will be thrown. Check ErrorCode property and ErrorString property for error information.
Capability property, CapCurrentIndex property, CapItems property, CapItemsString property, CapNumItems property, CapType property
Refer to Setting Capability with TW_ENUMERATION, Reading Value(s) from Capability Negotiation.