Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide
Chapter 7 CtiOs Object
Methods
7-8
Cisco ICM Software CTI OS Developer’s Guide Release 6.0(0)
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. Do not use this method for
properties of type IDispatch*; instead, use GetCurrentCall, GetCurrentAgent,
GetAllCalls, GetAllAgents, and GetAllSkillGroups as explained in
if you don’t know the type of the property. Otherwise, use the more specific
GetValue methods discussed later in this chapter. 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)
Parameters
key
A string reference that contains the name of the property whose value you
want.
want.
value
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
CtiOsObject derived class