Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 640
12-27
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.0(0)
 
Chapter 12      Helper Classes
Arguments Class
C++ and COM allow you to specify the key as string or enumerated (see 
); all others expect 
the key as a string.
Return Values
COM: Default HRESULT return values. See 
Others: True if key exists in the current Arguments array, otherwise False.
NumElements
The NumElements method returns number of elements stored in the current 
arguments array. This method is useful in combination with GetElement to 
implement a “for” loop to iterate over all values of an arguments array without 
knowing the keywords (those can be retrieved at the same time using 
GetElementKey).
Syntax
C++: 
int  NumElements();
COM: 
HRESULT NumElements(/*[out, retval]*/ int * num_elements);
VB:
NumElements as Integer
Java:
int NumElements()
.NET:
int NumElements()
Parameters
num_elements
Pointer to an integer value containing the number of elements in the 
Arguments array.
Return Value
COM: Default HRESULT return values. See