FileSerializer.SerializeFile (FileHeader, FileBody, Stream) Method

Serializes the file to stream.
Public Sub SerializeFile( _ 
ByVal header As FileHeader, _ 
ByVal body As FileBody, _ 
ByVal stream As Stream
)
This language is not supported or no code example is available.
public void SerializeFile( 
FileHeader header
FileBody body
Stream stream 
)
This language is not supported or no code example is available.

Parameters

header
FileHeader

The file header.

body
FileBody

The file body.

stream
Stream

The file stream.

Exception type Condition

EyeshotException

Thrown when the FileHeader or FileBody are null.

Remarks
 
When the Content is contentType.None, it is set equal to the FileHeader.Content.

.NET Framework

Supported in: 4.8

In this article

Definition