Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide

Page of 640
7-9
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.0(0)
 
Chapter 7      CtiOs Object
Methods
GetValue
The GetValue method returns the value of the specified property. Use this method 
if you don’t know the type of the property. Otherwise, use the more specific 
GetValue methods discussed later in this chapter. When using the COM CIL, do 
not use this method for properties of type IDispatch*; instead, use 
GetCurrentCall, GetCurrentAgent, GetAllCalls, GetAllAgents, and 
GetAllSkillGroups as explained in 
Syntax
C++:
Arg& GetValue (string& key)
Arg& GetValue (int key)
Arg& GetValue (char* key)
COM:
HRESULT GetValue (/*[in]*/ VARIANT* key, /*[out,retval]*/ IArg** 
value)
VB:
GetValue (key As VARIANT) As CTIOSCLIENTLib.IArg
Java:
Arg  GetValue( String key )
Arg& GetValue (int key)
.NET
virtual System.Boolean GetValue(Enum_CtiOs eKeyID, out Arg obArg)
virtual System.Boolean GetValue(System.String sKey, out Arg obArg)
Parameters
key
The name of the property whose value you want.
ARG_BOOL
1 byte integer
ARG_STRING
C++, COM: STL character string
JAVA, VB, .NET: String object
ARG_ARGARRAY
Variable length array of Arg
ARG_UINT
32 bit unsigned int
ARG_USHORT
16 bit unsigned short int
ARG_ARGUMENT
Arguments array
ARG_REFERENCE
Contains a reference to an object of a 
CtiOsObject derived class