Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 500
   
7-2
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions
Cisco CTI OS Release 7.2(1)
Chapter 7      CtiOs Object
Methods
DumpProperties
The DumpProperties method returns all the properties of the object. This method builds a string showing 
all of the properties in the form “key1 = value1; key2 = value2;...”. 
Syntax
C++:
string DumpProperties ()
COM:
HRESULT DumpProperties (/*[out,retval]*/ BSTR* bstrValue) 
VB:
DumpProperties() As String
Java:
String DumpProperties()
.NET:
System.String DumpProperties()
Parameters
bstrValue
The output parameter (return parameter in VB) containing a string listing the names and values of 
the object’s properties.
Return Value
COM:
 
Default HRESULT return value. See 
All Others: The string listing the names of all the object’s properties.
GetAllProperties
The GetAllProperties method returns all of the object’s properties and their values. For the properties 
that are calls, agents, or skillgroups, their string UniqueObjectIDs are returned, not the objects 
themselves. To get the objects themselves use 
, explained in 
Syntax
C++:
 bool GetAllProperties (Arguments** arguments)
GetLastError
Returns the last error that occurred on the calling 
thread.
GetNumProperties
Returns the number of properties of an object.
GetPropertyName
Returns a property name in a string format.
GetPropertyType
Returns the data type of the specified property.
GetValue, GetValueInt, 
GetValueString, 
GetValueArray
Returns the value of a specified property.
IsValid
Checks to see if the property of an object is valid.
Table 7-1
CCtiOsObject Class Methods