AddLocalRef
Description
Adds a local reference to the specified PowerBuilder
object.
Syntax
|
1 |
AddLocalRef (pbobject obj) |
|
Argument |
Description |
|---|---|
|
obj |
A valid PowerBuilder object handle |
Return value
pbclass or null on error.
Examples
This example defines functions that add and remove local
references:
|
1 2 3 4 5 6 7 8 9 10 |
void MyPBNIClass::reference() { d_session->AddLocalRef(d_pbobject); } void MyPBNIClass::unreference() { if(d_pbobject != NULL) d_session->RemoveLocalRef(d_pbobject); } |
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest