RetrieveSharedObject method
Applies to |
---|
This method retrieves the reference of a previously stored object.
This method returns the shared object set with StoreSharedObject. If Release is non-zero, the reference count of the shared object is decreased by one. If it is zero, the reference count is not affected. When an objects' reference count becomes zero, the object is automatically destroyed.
Return Type
Object
Syntax
object.RetrieveSharedObject( VarName As String, Release As Boolean)
Part |
Description |
---|---|
object |
An expression evaluating to an object in the 'Applies to' table above. |
VarName |
A string value. |
Release |
A Boolean value. |
Related topic