Aracılığıyla paylaş


OpenXmlPart.GetStream Method

Definition

Overloads

GetStream()

Returns the part content data stream.

GetStream(FileMode)

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

GetStream(FileMode, FileAccess)

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

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.

Applies to

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

The I/O mode to be used to open the content stream.

Returns

The content stream of the part.

Applies to

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

The I/O mode to be used to open the content stream.

access
FileAccess

The access permissions to be used to open the content stream.

Returns

The content stream of the part.

Applies to