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 part content stream opened with a specified FileMode and FileAccess.
Namespace: DocumentFormat.OpenXml.Packaging
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
Public Function GetStream ( _
mode As FileMode, _
access As FileAccess _
) As Stream
'Usage
Dim instance As OpenXmlPart
Dim mode As FileMode
Dim access As FileAccess
Dim returnValue As Stream
returnValue = instance.GetStream(mode, _
access)
public Stream GetStream(
FileMode mode,
FileAccess access
)
Parameters
- mode
Type: System.IO.FileMode
The I/O mode in which to open the content stream.
- access
Type: System.IO.FileAccess
The access permissions to use in opening the content stream.
Return Value
Type: System.IO.Stream
The content stream of the part.