Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide

Page of 640
Chapter 7      CtiOs Object
Methods
7-8
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.0(0)
GetPropertyType
The GetPropertyType method returns the data type of the specified property.
Syntax
C++:
int GetPropertyType (string& key)
int GetPropertyType (int key)
int GetPropertyType (char* key)
COM:
HRESULT GetPropertyType (/*[in]*/ VARIANT* key, /*[out,retval]*/ 
int* value)
VB:
GetPropertyType (key As VARIANT) As Int
Java:
int GetPropertyType(string sPropName)
int GetPropertyType(int key)
.NET:
virtual ArgDataType GetPropertyType(Enum_CtiOs eKeyID)
virtual ArgDataType GetPropertyType(System.String sPropName)
Parameters
key
Keyword ID name of the property whose type you want. In .NET, eKeyId is 
the Enum_CtiOs Keyword ID of the property.
COM:value
An integer pointer to the value of the type
Return Value
COM:
 
Default HRESULT return value. See 
Others: An integer indicating the property’s type with the following possible 
values:
Argument Type
Description
ARG_NOTSET
Argument type not determined
ARG_INT
Signed integer
ARG_SHORT
2 bytes signed integer