OpenXmlPart.GetStream OpenXmlPart.GetStream OpenXmlPart.GetStream Method

Definition

Overloads

GetStream() GetStream() GetStream()

Returns the part content data stream.

GetStream(FileMode) GetStream(FileMode) GetStream(FileMode)

Returns the content stream that was opened using a specified I/O FileMode.

GetStream(FileMode, FileAccess) GetStream(FileMode, FileAccess) GetStream(FileMode, FileAccess)

Returns the part content stream that was opened using a specified FileMode and FileAccess.

GetStream() GetStream() GetStream()

Returns the part content data stream.

public System.IO.Stream GetStream ();
member this.GetStream : unit -> System.IO.Stream
Public Function GetStream () As Stream

Returns

The content data stream for the part.

GetStream(FileMode) GetStream(FileMode) GetStream(FileMode)

Returns the content stream that was opened using a specified I/O FileMode.

public System.IO.Stream GetStream (System.IO.FileMode mode);
member this.GetStream : System.IO.FileMode -> System.IO.Stream
Public Function GetStream (mode As FileMode) As Stream

Parameters

mode
FileMode FileMode FileMode

The I/O mode in which to open the content stream.

Returns

The content stream of the part.

GetStream(FileMode, FileAccess) GetStream(FileMode, FileAccess) GetStream(FileMode, FileAccess)

Returns the part content stream that was opened using a specified FileMode and FileAccess.

public System.IO.Stream GetStream (System.IO.FileMode mode, System.IO.FileAccess access);
member this.GetStream : System.IO.FileMode * System.IO.FileAccess -> System.IO.Stream
Public Function GetStream (mode As FileMode, access As FileAccess) As Stream

Parameters

mode
FileMode FileMode FileMode

The I/O mode in which to open the content stream.

access
FileAccess FileAccess FileAccess

The access permissions to use in opening the content stream.

Returns

The content stream of the part.

Applies to