Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot.Translators Namespace / ReadFile Class / ReadFile Constructor / ReadFile Constructor(Stream,contentType)
The file stream
The devDept.Serialization.contentType that must be read. If not specified, it will be used the one specified inside the file.

In This Topic
    ReadFile Constructor(Stream,contentType)
    In This Topic
    File stream constructor.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal stream As Stream, _
       Optional ByVal deserializationType As contentType _
    )
    public ReadFile( 
       Stream stream,
       contentType deserializationType
    )

    Parameters

    stream
    The file stream
    deserializationType
    The devDept.Serialization.contentType that must be read. If not specified, it will be used the one specified inside the file.
    Remarks
    The closing of the stream is delegated to you.
    See Also