2.5.2.1.4 Object Values
An instance of a VBObjectType is always a VBObjectValue.
The underlying value of an object value is a unique addressable ID.
Object Lifetime
Object lifetime is the responsibility of the session's ISessionObjects service:
| Member | Role |
|---|---|
CreateObject |
Creates an object instance. |
AddRef / RemoveRef |
Reference counting. |
TryRemoveObject |
Removes an instance whose reference count has reached zero. |
The session's ISessionSymbols and ISessionObjects implementations should maintain an internal object heap holding the Symbol references and their associated bindings for any VBObjectValue. See RD-VBAL §2.3.1.2 Session Services.
⏮️ RD-VBAL §2.5.2.1.3 User-Defined Type (UDT) Values | ⏭️ RD-VBAL §2.5.2.1.5 Variant Values