Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide

Page of 640
7-7
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.0(0)
 
Chapter 7      CtiOs Object
Methods
Return Value
COM: 
Default CTI OS return values. See 
All Others: 
An integer that is the number of properties currently a part of the 
object.
GetPropertyName
The GetPropertyName method returns the name of a property in a string format.
Syntax
C++: 
string GetPropertyName (int index)
COM: 
HRESULT GetPropertyName (/* [in] index, /*[out,retval]*/ name)
VB: 
GetPropertyName (index As Integer) As String
Java:
 string GetPropertyName (int iIndex)
.NET:
virtual System.Boolean GetPropertyName(int iIndex, out 
System.String name)
Parameters
index
An integer parameter specifying the index number of the requested property.
name
A string output parameter (return value in C++, VB, and Java) containing the 
property’s name.
Return Value
COM: 
Default CTI OS return values. See 
.NET: Boolean value set to true if the method call succeeds, otherwise false.
All Others: 
A string that contains the property’s name.