Поделиться через


DataPart.GetStream Method (FileMode)

Returns the content stream opened in a specified I/O FileMode.

Namespace:  DocumentFormat.OpenXml.Packaging
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Декларация
Public Function GetStream ( _
    mode As FileMode _
) As Stream
'Применение
Dim instance As DataPart
Dim mode As FileMode
Dim returnValue As Stream

returnValue = instance.GetStream(mode)
public Stream GetStream(
    FileMode mode
)

Parameters

Return Value

Type: System.IO.Stream
The content stream of the part.

See Also

Reference

DataPart Class

DataPart Members

GetStream Overload

DocumentFormat.OpenXml.Packaging Namespace