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 the chapter on user objects in the PowerBuilder
Users Guide.
For more information about using the OLEStorage
object in an application, see Application Techniques.
Properties
|
OLEStorage property |
Datatype |
Description |
|---|---|---|
|
ClassDefinition |
PowerObject |
An object of type PowerObject containing |
|
DocumentName |
String |
Specifies the name of the storage currently |
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 opened |
|
|
Integer |
Saves the storage and any controls and |
|
|
Integer |
Creates a reference to a context-specific |
|
|
PowerObject |
Returns a reference to the name of the |
|
|
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 |
|
|
Boolean |
Adds an event to the end of the message |
|
|
Integer |
Saves the storage and any controls open |
|
|
Integer |
Copies the storage and any controls open |
|
|
Integer |
Sends an event to the user object and |
|
|
Object |
Returns the type of the user object |