PackagePart.GetStreamCore Method (FileMode, FileAccess)
Assembly: WindowsBase (in WindowsBase.dll)
The I/O mode in which to open the content stream.
The access permissions to use in opening the content stream.
Return ValueType: System.IO.Stream
The content data stream of the part.
Notes to Implementers:
The derived GetStream method that calls it.implementation should make no assumptions about the order or operations performed by the
Notes to Callers:
The derived GetStream methods to open and return the part data stream based on the physical format implemented in the derived class.method is called by the
By default, the ZipPackagePart subclass implementation of the abstract PackagePart class is provided and used. In the default operation, GetStream internally calls of the ZipPackagePart class to open and return the part data stream from a ZIP file.
Available since 3.0