IPackagePart.GetStream(FileMode, FileAccess) 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.
Gets the data stream for the part.
public System.IO.Stream GetStream (System.IO.FileMode open, System.IO.FileAccess write);
abstract member GetStream : System.IO.FileMode * System.IO.FileAccess -> System.IO.Stream
Public Function GetStream (open As FileMode, write As FileAccess) As Stream
Parameters
- open
- FileMode
Mode in which to open the stream.
- write
- FileAccess
Access mode in which to open the stream.
Returns
A stream for the data of the part.