Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide
Chapter 7 CtiOs Object
Methods
7-4
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.0(0)
Return Value
C++ , VB: True upon success and false upon failure.
COM: Always returns S_OK. The errorcode parameter should be used to
determine success or failure of the method call.
determine success or failure of the method call.
.NET, Java: NULL if the value requested is not found or if there is an error. If the
method succeeds, it returns a reference to an Arguments object containing all of
the properties of the object.
method succeeds, it returns a reference to an Arguments object containing all of
the properties of the object.
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)
.NET:
System.Boolean GetElement(System.String key, int element, out
arg rArg)
Parameters
key
A key designating the name of the Arguments property whose element you
want.
want.
element
The integer index of the element to retrieve from the property key.