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

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

    Parameters

    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