StreamInfo.GetStream Method ()


Returns a stream opened in a default FileMode and FileAccess.

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

public Stream GetStream()

Return Value

Type: System.IO.Stream

The I/O stream opened in a default Package root FileMode and FileAccess..

This GetStream method (without parameters), opens the stream in file mode OpenOrCreate with the default storage root FileAccess.

.NET Framework
Available since 3.0
Return to top