IPB_Session interface:
RemoveGlobalRef method
Description
Removes a global reference to the specified PowerBuilder object.
Syntax
RemoveGlobalRef (pbobject obj)
Argument |
Description |
---|---|
obj |
A valid PowerBuilder object handle |
Return Values
None.
Examples
void MyPBNIClass::reference()
{
d_session->AddGlobalRef(d_pbobject);
}
void MyPBNIClass::unreference()
{
if(d_pbobject != NULL)
d_session -> RemoveGlobalRef(d_pbobject);
}