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
- sourceStream
Type: System.IO.Stream
The source stream to be read from.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Throw when "sourceStream" is null reference. |