Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 490
   
12-23
CTI OS Developer’s Guide for Cisco Unified Contact Center Enterprise
Release 8.5(3)
Chapter 12      Helper Classes
CILRefArg Class (C++, Java, and .NET only)
boolean SetValueUShort(String sKey, int iValue)
boolean SetValue(int iKey, Arg rArg)
.NET:
System.Boolean SetValueArguments(Arguments rArguments)
System.Boolean SetValue(System.String sKey, System.Int32
iValue)
System.Boolean SetValueUInt(System.String sKey, System.Int64
lValue)
System.Boolean SetValue(System.String sKey, System.Int16
nValue)
System.Boolean SetValueUShort(System.String sKey, System.Int32
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 you to specify a 
key via enumerated keywords (see 
) as well as 
string. COM and VB use String keywords and Variants as values.
CILRefArg Class (C++, Java, and .NET only)
The CILRefArg class is a subclass of the Arg class. Its main responsibility is to store a reference of a 
CCtiOsObject object (see 
). This class includes object references in argument 
structure. The object types you can use are any of the following: CAgent, CCall, CSkillGroup, 
CWaitObject or CCtiOsSession.