OleStorageElement
Object List Hierarchy Next Object
Definition:
This is an abstract object that represents behavior common to storages and
streams in compound files. Before an element can be used its Name and
ParentStorage properties must be set properly. You should not need to use this object,
except to write polymorphic code. Use OleStorage and OleStream instead.
Specialized Features:
The following tables list and briefly describe the properties and methods
added by OleStorageElement. There are no added events.
Properties Use to...
Exists Indicate whether or not the file exists (Read Only).
IsOpen Indicate whether or not the element is open (Read Only).
Name Set the name of the element. If the element is an OleRootStorage, this will be
the same as the compound file it is in.
ParentStorage Point to the storage this element is contained in. (Read Only)
Methods Use to...
Close Close the element.
Create Create and open the element specified by Name.
Destroy Delete the element from its storage.
Open Open or create the element specified by Name for reading and writing.
OpenReadOnly Open an existing element specified by Name for reading only.
Copied Features:
None
this is a top-level object.