Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide

Page of 640
12-35
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.0(0)
 
Chapter 12      Helper Classes
CILRefArg Class (C++, Java, and .NET only)
GetValue
The GetValue method returns the reference to CTI OS object encapsulated in the 
CILRefArg. 
Syntax
C++:
  CCtiOsObject * GetValue():
Java: 
CCtiOsObject GetValue();
.NET:
 System.Boolean GetValue(out CtiOsObject sValue)
Output Parameters
.NET:sValue
Reference to the contained CtiOsObject derived class.
Return Values
C++: Returns NULL on failure.
.NET: Returns false if the method fails.
Java: Returns a null reference if the method fails.
SetValue
Sets the reference to the CTI OS Object in the CILRefArg.
Syntax
bool SetValue(CCtiOsObject * pObject);
Input Parameters
pObject
A pointer to a CtiOsObject to encapsulate (e.g. CCall, CAgent, etc.)