Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 668
 
7-17
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.1(1)
 
Chapter 7      CtiOs Object
Methods
Syntax
C++: 
bool IsValid (string& key)
 
bool IsValid (char* key)
 
bool IsValid (int key)
COM:
  HRESULT IsValid (/*[in]*/ VARIANT* key, /*[out,retval]*/ 
VARIANT_BOOL* value)
VB:
IsValid (key As VARIANT)as Bool 
Java:
boolean IsValid( String key)
boolean IsValid (int key)
.NET:
virtual bool IsValid(Enum_CtiOs eKeyID)
virtual bool IsValid(System.String sKey)
Parameters
C++, Java: key
A key containing the name or ID of the property whose validity you are 
testing.
COM, VB: key
VARIANT containing the name or ID of the property to retrieve.
.NET: eKeyID
The ID of the property whose validity you are testing.
.NET: sKey
The name of the property whose validity you are testing.
COM: value
An output parameter (return parameter in VB) containing a 
VARIANT_BOOL pointer indicating whether or not a property with the 
specified name exists for the object.
Return Value
COM:
 
Default HRESULT return value. See 
 
Others: A boolean indicating whether or not a property with the specified name 
exists for the object.