Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide

Page of 668
 
12-17
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.1(1)
 
Chapter 12      Helper Classes
Arguments Class
Return Value
C++: Returns True in if the entry was successfully added, otherwise False. 
COM and VB: Standard return values are valid; se
AddRef (C++ and COM only)
The AddRef method increments the reference count for the data item. It is 
necessary to call this if you are storing a pointer to the item for some time. When 
you are finished with the item, you must call the Release method or a memory leak 
will result.
Syntax
C++: 
unsigned long AddRef()
COM:
HRESULT AddRef()
VB, Java, .NET: 
Not used
Parameters
None.
Return Values
COM: Default HRESULT return values. See 
C++: Current reference count.
Others: None.
Clear
The Clear method deletes all the elements from Arguments object.