Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 640
Chapter 7      CtiOs Object
Methods
7-14
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.0(0)
GetValueShortObj (Java only)
Retrieves a 16 bit short with the specified key from the array.
Syntax
Short GetValueShortObj( int iKey)
Short GetValueShortObj(short sKey)
Parameters
key
Key ID of the value to be retrieved.
Return Value
A Short object containing a 16 bit short value or null if error.
GetValueString
The GetValueString method returns the string value of the property with the 
specified name. Use this method when you know that the property is of string 
type.
Syntax
C++:
string GetValueString (string& key)
string GetValueString (int key)
string GetValueString (char* key)
COM:
HRESULT GetValueString (/*[in]*/ VARIANT* key, /*[out,retval]*/ 
BSTR* value)
VB:
GetValueString (key As VARIANT) As String
Java:
String GetValueString( String key )
String GetValueString (int key)
.NET:
S
ystem.Boolean GetValueString(Enum_CtiOs eKeyID, out 
System.String strValue)
System.Boolean GetValueString(System.String sPropName, out 
System.String strValue)