Cisco Cisco Computer Telephony Integration OS 8.5 Developer's Guide

Page of 546
 
12-10
Cisco ICM Software CTI OS Developer’s Guide Release 6.0(0)
 
Chapter 12      Helper Classes
Arg Class
Syntax
C++:
bool SetValue( int value );
bool SetValue( unsigned int value );
bool SetValue( unsigned short value );
bool SetValue( short value );
bool SetValue( bool value );
bool SetValue( char * value );
bool SetValue( string& value);
bool SetValue( const string& value);
bool SetValue( Arg & value);
COM: 
HRESULT SetValue(/*[in]*/ VARIANT * pVariant, /*[out,retval]*/ 
VARIANT_BOOL * errorcode );
VB: 
SetValue (key as String, value as Variant) as Boolean
Java:
boolean SetValue(Arg rArg)
boolean SetValue(int iVal)
boolean SetValue(short nValue)
boolean SetValue(String sValue)
boolean SetValueUInt(long lValue)
boolean SetValueUShort(int iValue
Parameters
value
The value of the specified type to assign to the Arg. For COM, this value is 
of type VARIANT * whose type is one of the types listed in 
Table 12-4 Supported Variant Types
Variant Type
Standard C++ Type
VT_INT
Int
VT_UINT
Unsigned int
VT_I2
Short
VT_UI2
Unsigned short
VT_BOOL
Bool
VT_BSTR
string, const string and char *
VT_DISPATCH
Pointer to an IArg interface