Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 668
 
Chapter 12      Helper Classes
Arguments Class
12-32
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.1(1) 
iValue)
System.Boolean  SetValue(System.String sKey, System.String
sValue)
System.Boolean SetValue(System.String sKey, Arg rArg)
System.Boolean SetValue(Enum_CtiOs eKey, System.Int32 iValue)
System.Boolean SetValueUInt(Enum_CtiOs eKey, System.Int64
lValue)
System.Boolean SetValue(Enum_CtiOs eKey, System.Int16 nValue)
System.Boolean SetValueUShort(Enum_CtiOs eKey, System.Int32
iValue)
System.Boolean SetValue(Enum_CtiOs eKey, System.Boolean bValue)
System.Boolean SetValue(Enum_CtiOs eKey, System.String sValue)
System.Boolean SetValue(Enum_CtiOs eKey, Arg rArg)
Parameters
key 
The key whose value is to be set.
value
The value to use in setting the element with the designated key.
success
Output parameter (return parameter in C++ and VB) containing a boolean 
indicating success or failure.
Return Values
COM: Default HRESULT return values. See Chapter 3, “CIL Coding 
Conventions.”
Others: A boolean indicating success or failure.
Remarks
The C++ methods overload several implementations for different value types and 
allow to specify a key via enumerated keywords (see 
) as well as string. COM and VB use String 
keywords and Variants as values.