共用方式為


OpenXmlPart.FeedData(Stream) Method

Definition

Feeds data into the part stream. The stream of the part will be truncated at first.

public void FeedData (System.IO.Stream sourceStream);
member this.FeedData : System.IO.Stream -> unit
Public Sub FeedData (sourceStream As Stream)

Parameters

sourceStream
Stream

The source stream to be read from.

Exceptions

Thrown when "sourceStream" is a null reference.

Applies to