SetCapItems()

Description

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

Syntax

.SetCapItems(index, newVal);

Parameters

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

Return value

void

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()

Is this page helpful?

Leave a Reply

Your email address will not be published.