Руководство Разработчика для Cisco Cisco Computer Telephony Integration OS 8.5
12-27
Cisco ICM Software CTI OS Developer’s Guide Release 6.0(0)
Chapter 12 Helper Classes
Arguments Class
bool SetElement( int index, bool value );
bool SetElement( int index, std::string& value );
bool SetElement( int index, char * pchar );
bool SetElement( int index, Arg& value );
bool SetElement( int index, Arguments& value );
COM:
HRESULT SetElement(/*[in]*/ int index, /*[in]*/ VARIANT *
value, /*[out,retval]*/ success);
VB:
SetElement (index as Integer, value as Variant) as Boolean
Java:
Not available
Parameters
index
The index at which the value is to be set. This index value is not related to the
order in which items are added or removed. The order of items in Arguments
is never guaranteed. This method is useful for sequentially iterating over all
items in Arguments. Index is 1-based. Index should never be less than 1 or
greater than NumElements (see above). C++ implements several overloaded
methods for different value types, while COM and VB use Variants.
order in which items are added or removed. The order of items in Arguments
is never guaranteed. This method is useful for sequentially iterating over all
items in Arguments. Index is 1-based. Index should never be less than 1 or
greater than NumElements (see above). C++ implements several overloaded
methods for different value types, while COM and VB use Variants.
value
The associated value to be set in the element at the designated index.
success
Output parameter (return parameter in C++ and VB) containing a boolean
indicating success or failure.
indicating success or failure.
Return Values
COM: Default HRESULT return values. See
Others: A boolean indicating success or failure.