Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide
12-6
CTI OS Developer’s Guide for Cisco Unified Contact Center Enterprise
Release 8.5(1)
Chapter 12 Helper Classes
Arg Class
Others: Returns the enumerated value that identifies the data type stored in the Arg (see
GetValue Methods
The GetValue method returns the value stored in the object. To extract a specific type of data you invoke
the method designated for it. For more detail on GetValueArray, GetValueInt, and GetValueString, see
the corresponding methods described in
the method designated for it. For more detail on GetValueArray, GetValueInt, and GetValueString, see
the corresponding methods described in
Syntax
C++:
int GetValueInt();
unsigned int GetValueUInt();
unsigned shortGetValueUShort();
short GetValueShort();
string& GetValueString();
bool GetValueBool();
bool GetValueInt(int * value);
bool GetValueUInt(unsigned int * value);
bool GetValueUShort(unsigned short * value);
bool GetValueShort( short * psVallue);
bool GetValueBool( bool * value);
bool GetValueString(string* value);
COM:
HRESULT GetValue(/*[out, retval]*/ VARIANT* value);
VB:
GetValue() as Variant
VB:
GetValue (key as String, value as Variant) as Boolean
Java:
Integer GetValueIntObj()
Long GetValueUIntObj()
Long GetValueUIntObj()
Short GetValueShortObj()
Integer GetValueUShortObj()
Boolean GetValueBoolObj()
String GetValueString()
.NET
:
System.Boolean GetValueInt(out System.Int32 nValue)
.NET:
System.Boolean GetValueUInt(out System.Int64 nValue)
.NET
:
System.Boolean GetValueShort(out System.Int16 nValue)
.NET
:
System.Boolean GetValueUShort(out System.Int32 nValue)
.NET
:
System.Boolean GetValueBool(out System.Boolean bValue)
.NET
:
System.Boolean GetValueString(out System.String strValue)
Table 12-2
enumArgTypes
Argument Type
Description
ARG_NOTSET
Argument type not determined
ARG_INT
Signed integer
ARG_UINT
Unsigned integer
ARG_USHORT
2 bytes unsigned integer
ARG_SHORT
2 bytes signed integer
ARG_BOOL
1 byte integer
ARG_STRING
Character string
ARG_ARGARRAY
Variable length Arguments array