Export (0) Print
Expand All

StorageInfo.GetStreams Method

Returns an array of the StreamInfo instances that are currently contained in this store.

Namespace: System.IO.Packaging
Assembly: WindowsBase (in windowsbase.dll)

public StreamInfo[] GetStreams ()
public StreamInfo[] GetStreams ()
public function GetStreams () : StreamInfo[]
You cannot use methods in XAML.

Return Value

An array of the StreamInfo objects, each pointing to an I/O steam defined within this store.

GetStreams will always return a StreamInfo array, but the array may be empty (zero-length) if there are no streams defined in the store.

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

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2015 Microsoft