DataPart.FeedData Method

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

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

Syntax

'Declaration
Public Sub FeedData ( _
    sourceStream As Stream _
)
'Usage
Dim instance As DataPart
Dim sourceStream As Stream

instance.FeedData(sourceStream)
public void FeedData(
    Stream sourceStream
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

Thrown when sourceStream is null reference.

See Also

Reference

DataPart Class

DataPart Members

DocumentFormat.OpenXml.Packaging Namespace