OLEStorage object
The OLEStorage object acts as a proxy for an open OLE
storage.
You can customize your own version of the OLEStorage object by
defining a class user object inherited from the built-in OLEStorage
object.
For more information about creating a custom OLEStorage object, see
Working with User Objects.
For more information about using the OLEStorage object in an
application, see Using OLE in an Application.
Properties
|
OLEStorage property |
Datatype |
Description |
|---|---|---|
|
ClassDefinition |
PowerObject |
An object of type PowerObject containing |
|
DocumentName |
String |
Specifies the name of the storage currently open. |
Events
|
OLEStorage event |
Occurs |
|---|---|
|
When the user object is created. |
|
|
When the user object is destroyed. |
Functions
|
OLEStorage function |
Datatype returned |
Description |
|---|---|---|
|
String |
Returns the name assigned to the user |
|
|
Integer |
Releases any storage previously |
|
|
Integer |
Saves the storage and any controls and streams open |
|
|
Integer |
Creates a reference to a context-specific instance |
|
|
PowerObject |
Returns a reference to the name of the parent |
|
|
Integer |
Deletes the specified member |
|
|
Integer |
Specifies whether the specified member |
|
|
Integer |
Renames the specified member |
|
|
Integer |
Opens the storage from a file or opens a substorage |
|
|
Boolean |
Adds an event to the end of the message queue of |
|
|
Integer |
Saves the storage and any controls open on that |
|
|
Integer |
Copies the storage and any controls open on that |
|
|
Integer |
Sends an event to the user object and executes the |
|
|
Object |
Returns the type of the user object |