Returns the shared object that was specified by the SetSharedObject method.
[ReturnObject =] Object.GetSharedObject (ObjectName, ReleaseObject)
|
Part |
Data type |
Description |
|
Object |
Object |
An object expression that evaluates to an object in the Applies To list. |
|
ObjectName |
String |
Name of the Object to get. |
|
ReleaseObject |
Boolean |
If ReleaseObject is True, the reference count of the shared object is decreased by one. If ReleaseObject is False, the reference count is not affected. |
Data type: Object – the specified object if found. Otherwise, NULL is returned.
When an object’s reference count reaches 0, the object is automatically destroyed.