Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide
Chapter 7 CtiOs Object
Methods
7-4
Cisco ICM Software CTI OS Developer’s Guide Release 6.0(0)
Return Value
Default CTI OS return values. See
The C++ and Java versions of this method return NULL if the value requested is
not found or if there is an error.
not found or if there is an error.
GetElement
Given a property of type Arguments whose name is specified by the key
parameter, the GetElement method returns the Arg at position element of that
Arguments array.
parameter, the GetElement method returns the Arg at position element of that
Arguments array.
Syntax
C++:
Arg& GetElement (string& key, int element)
Arg& GetElement (int key, int element)
Arg& GetElement (char* key, int element)
COM:
HRESULT GetElement /*[in]*/ VARIANT* key, /*[in]*/ int element,
/*[out,retval]*/ IArg** pIArg)
VB:
GetElement (key As VARIANT) As CTIOSCLIENTLib.IArg
Java:
Arg GetElement(String key, int element)
Arg GetElement(int key, int element)
Parameters
key
A key designating the name of the Arguments property whose element you
want.
want.
element
An integer that is an index of the desired element of the property.
pIArg
An output parameter (return parameter in VB) containing an IArg with the
value of the desired element.
value of the desired element.