GetSubItemInfo
method Returns the SFInfo object for the
addressed sub-item (storage or stream)
Syntax:
Set info = object.GetSubItemInfo( path)
Parameters:
path - relative path of the sub-stream. For example: "substorage1\substorage2\stream1".
See remarks.
returned value: the SFInfo object for the item.
Examples:
Set info = stg.GetSubItemInfo("substorage\substorage2\item")
Remarks:
Like the SubItemExists, OpenSubStream,
OpenSubStorage and the
other similar methods this one is a helper method that allows
application to obtain the information about an item in depth.
path string - is abstract storage path very similar to the
directory paths in the file system. The "\" or "/"
delimiters can be used to separate the names of the storages in it.
For example "a\b\c" will mean the item "c" in the
storage "b" which is in turn in the storage "a".
The virtual root is the storage whose member is called.
Limitations: The basic features supported by
all the storages cause some limitations - the path to the sub-item
should be accessible which means no storage in the path must be locked
for exclusive use in order method to work correctly. The method
requires read access to all the storages specified in the path string.
Applies to: SFStorage object
|