Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide
12-6
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.0(0)
Chapter 12 Helper Classes
Arg Class
DumpArg
The DumpArg method builds a string containing the value stored in the Arg. This
involves doing any type conversion required to display the data as a string. For
example, it will automatically convert an INTEGER type to a string that can be
logged for debugging. In the event that a Arg object is actually an Arguments
object, the string returned is the one built by Arguments.DumpArg, and thus
enabled printing of nested Arguments structures.
involves doing any type conversion required to display the data as a string. For
example, it will automatically convert an INTEGER type to a string that can be
logged for debugging. In the event that a Arg object is actually an Arguments
object, the string returned is the one built by Arguments.DumpArg, and thus
enabled printing of nested Arguments structures.
Syntax
C++:
string DumpArg()
COM:
HRESULT DumpArg([out,retval] BSTR* arg_string);
VB:
DumpArg() as String
Java, .NET:
Not available. Use the ToString method.
Parameters
arg_string
The pointer to the string into which the contents of the Arg object will be
written.
written.
Return Values
Others: A string containing the contents of the structure.
GetArgType (.NET only)
The GetArgType method returns the type of the contained value. This returned
value will be one of the following:
value will be one of the following:
•
ARG NOTSET
•
ARG_BOOL
•
ARG_SHORT