Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 640
Chapter 7      CtiOs Object
Methods
7-12
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.0(0)
Returns
A Boolean object representation of the contained value or null if error.
GetValueInt
The GetValueInt method returns the integer value of the specified property. Use 
this method when you know that the property has an integer type.
Syntax
C++:
int GetValueInt (string& key)
int GetValueInt (int key)
int GetValueInt (char* key)
COM:
HRESULT GetValueInt /*[in]*/ VARIANT* key, /*[out,retval]*/ 
int* value)
VB:
GetValueInt (key As VARIANT) As Integer
Java:
Not implemented, use GetValueIntObj
.NET:
System.Boolean GetValueInt(Enum_CtiOs eKeyID, out System.Int32 
nValue)
System.Boolean GetValueInt(System.String sPropname, out 
System.Int32 nValue)
Parameters
C++: key
Depending on the method used, either a string or int that contains the name 
or ID of the property whose value you want to retrieve.
COM, VB: key
VARIANT containing the ID or name of the prerty to retrieve.
COM: value
An output parameter (return parameter in VB) containing an integer pointer 
to the returned value of the property. 
.NET: sPropName
The name of the property.
.NET: nValue