StorageInfo.GetSubStorages Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om