Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the content stream opened in a specified I/O FileMode.
Namespace: DocumentFormat.OpenXml.Packaging
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
Public Function GetStream ( _
mode As FileMode _
) As Stream
'Usage
Dim instance As OpenXmlPart
Dim mode As FileMode
Dim returnValue As Stream
returnValue = instance.GetStream(mode)
public Stream GetStream(
FileMode mode
)
Parameters
- mode
Type: System.IO.FileMode
The I/O mode in which to open the content stream.
Return Value
Type: System.IO.Stream
The content stream of the part.