IPB_Session interface:
AddLocalRef method
Description
Adds a local reference to the specified PowerBuilder object.
Syntax
|
1 |
AddLocalRef (pbobject <span> obj</span>) |
|
Argument |
Description |
|---|---|
|
obj |
A valid PowerBuilder object handle |
Return Values
pbclass or null on
error.
Examples
This example defines functions that add and remove
local references:
|
1 |
void MyPBNIClass::reference()<br>{<br>   d_session-><span>AddLocalRef</span>(d_pbobject);<br>}<br> <br>void MyPBNIClass::unreference()<br>{<br>   if(d_pbobject != NULL)<br>      d_session->RemoveLocalRef(d_pbobject);<br>} |
See Also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest