Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 640
Chapter 7      CtiOs Object
Methods
7-2
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.0(0)
Methods
 lists the available CCtiOsObject class 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()
Table 7-1
CCtiOsObject Class Methods
Method
Description
DumpProperties
Returns a string listing all of an object’s 
properties’ names and values.
GetAllProperties
Returns all of the object’s properties as Args 
(name/value pairs).
GetElement
Returns the value of an element.
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.