Version

GetStream Method (IPackagePart)

Returns the part content stream opened with a specified System.IO.FileMode and System.IO.FileAccess.
Syntax
Stream GetStream( 
   FileMode mode,
   FileAccess access
)

Parameters

mode
The I/O mode in which to open the content stream.
access
The access permissions to use in opening the content stream.

Return Value

The content stream for the part.
Requirements

Target Platforms: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also