ReadFile(Stream, Boolean, contentType) Constructor

File stream constructor.
Public Sub New( _ 
ByVal stream As Stream, _ 
Optional ByVal headerOnly As Boolean = false, _ 
Optional ByVal deserializationType As contentType = contentType.GeometryAndTessellation _ 
)
This language is not supported or no code example is available.
public ReadFile( 
Stream stream
bool headerOnly = false, 
contentType deserializationType = contentType.GeometryAndTessellation 
)
This language is not supported or no code example is available.

Parameters

stream
Stream

The file stream

headerOnly
bool

When true only the file header is read.

deserializationType
contentType

The 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.

.NET Framework

Supported in: 4.8

In this article

Definition