Cisco Cisco Computer Telephony Integration OS 8.5 Developer's Guide

Page of 640
Chapter 12      Helper Classes
Arguments Class
12-28
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.0(0)
Others: Number of elements in arguments array.
Release (C++ and COM only)
The Release method decrements the reference count for the data item. It is 
necessary to call Release when you are finished with a data item that has had its 
reference count incremented via CreateInstance or AddRef; otherwise, a memory 
leak will result.
Syntax
C++: 
unsigned long Release()
COM:
HRESULT Release()
VB, Java, .NET: 
Not used
Parameters
None.
Return Values
COM: Default HRESULT return values. See 
C++: The current reference count after the Release() call.
RemoveItem
The RemoveItem method removes a value and its associated key from an 
arguments array. Subsequent attempts to access a value that was removed using 
RemoveItem will fail.
Syntax
C++:
bool RemoveItem( std::string& key );
bool RemoveItem( char * key );
bool RemoveItem( enum_Keywords key );