ISDBApplication::Objects
CoClass SDBApplication, Interface ISDBApplication
Property Get/Let Objects(Name As String) As Object
Parameters
Name | Type | Description |
---|---|---|
Name | String | An identifier for object storage. |
Property description
A collection for a temporary storage of any type of COM object during MediaMonkey running time. For example if a window is created by script that should remain visible while the script isn't running, the window object can be put to this collection in order to keep a reference to it.
Example code
If SDB.Objects[ 'Store'] Is Nothing Then ' If the object isn't in collection yet...
SDB.Objects[ 'Store'] = MyWindow ' ... add it to the collection...
EndIf
SDB.Objects[ 'Store'] = Nothing ' ... and now again remove it from the collection.