ReadFile(String, contentType) Constructor

File name and content constructor.
Public Sub New( _ 
ByVal fileName As String, _ 
ByVal deserializationType As contentType
)
This language is not supported or no code example is available.
public ReadFile( 
string fileName
contentType deserializationType 
)
This language is not supported or no code example is available.

Parameters

fileName
string

The file name

deserializationType
contentType

The contentType that must be read. If not specified, it will be used the one specified inside the file.

.NET Framework

Supported in: 4.8

In this article

Definition