Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Serialization Namespace / FileSerializer Class / SerializeFile Method / SerializeFile(FileHeader,FileBody,Stream) Method
The file header.
The file stream.

In This Topic
    SerializeFile(FileHeader,FileBody,Stream) Method
    In This Topic
    Serializes the file to stream.
    Syntax
    'Declaration
     
    Public Overloads Sub SerializeFile( _
       ByVal header As FileHeader, _
       ByVal body As FileBody, _
       ByVal stream As Stream _
    ) 
    public void SerializeFile( 
       FileHeader header,
       FileBody body,
       Stream stream
    )

    Parameters

    header
    The file header.
    body
    stream
    The file stream.
    Exceptions
    ExceptionDescription
    Thrown when the FileHeader or FileBody are null.
    Remarks
    When the Content is contentType.None, it is set equal to the FileHeader.Content.
    See Also