Sets or returns the type of capability container used to exchange capability information between application and source. This is a runtime property.
Enumerated value / Integer
ObjectName. CapType
Value Description TWON_ARRAY(3) A array of associated individual values.
CapNumItems property, CapItems property/CapItemsString property are valid.
TWON_ENUMERATION(4) A group of associated individual values. The values are ordered from the lowest to highest values, but the step size between every two values is probably not uniform.
CapNumItems property, CapCurrentIndex property, CapDefaultIndex property, CapItems property/CapItemsString property are valid.
TWON_ONEVALUE(5) A single value. CapValue property or CapValueString property is valid.
TWON_RANGE(6) A range of individual values.
CapMinValue property, CapMaxValue property, CapStepSize property, CapDefaultValue property and CapCurrentValue property are valid.
CapType property does not need to be set before CapGet() is called.
CapDefaultIndex property and CapDefaultValue property reflect power-on values and are not available with CapSet().
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, CapGet(), CapGetDefault(), CapGetCurrent(), CapSet()
Refer to How to Negotiate Capability with Different Capability Container Types.