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


OpenXmlPart.FeedData Method

Feed 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 OpenXmlPart
Dim sourceStream As Stream

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

Parameters

Exceptions

Exception Condition
ArgumentNullException

Throw when "sourceStream" is null reference.

See Also

Reference

OpenXmlPart Class

OpenXmlPart Members

DocumentFormat.OpenXml.Packaging Namespace