IPB_Session interface:
RemoveProp method
Description
Removes the specified variable from the list of properties
of the current IPB session. You must free the memory to which the
property points.
Syntax
RemoveProp(LPCTSTR name)
Argument
|
Description
|
name
|
The name of the variable to be removed
|
Return Values
None.
Examples
These statements remove prop_name from
the list of variables associated with the session and delete the
pointer created to point to the variables value:
session -> RemoveProp(prop_name);
delete SetValue;
Usage
SetProp enables you to use a variable value
throughout an IPB session. Use RemoveProp to
remove the variable from the list of variables associated with the
session when it is no longer needed. You must also free the memory associated
with the variable.
See Also