StorageInfo.GetSubStorages Method

Definition

Returns an array of the child sub-stores that are currently contained in this store.

public:
 cli::array <System::IO::Packaging::StorageInfo ^> ^ GetSubStorages();
public System.IO.Packaging.StorageInfo[] GetSubStorages ();
member this.GetSubStorages : unit -> System.IO.Packaging.StorageInfo[]
Public Function GetSubStorages () As StorageInfo()

Returns

An array of StorageInfo objects, each pointing to a sub-store defined within this store.

Remarks

GetSubStorages will always return a StorageInfo array, but the array may be empty (zero-length) if there are no sub-stores.

GetSubStorages provides a snapshot of the sub-stores currently defined in this store. The individual StorageInfo objects will reflect the updated state of their respective stores, but the returned array will not be updated with any additions or deletions. Call GetSubStorages again to obtain an updated array as sub-stores added or deleted to the store.

Applies to

See also