LoadOptions
LoadOptions(FileType)
Initializes new instance of LoadOptions
class.
public LoadOptions(FileType fileType)
Parameter |
Type |
Description |
fileType |
FileType |
The type of the file to load. |
Exceptions
exception |
condition |
ArgumentNullException |
Thrown when fileType is null. |
See Also
LoadOptions(string)
Initializes new instance of LoadOptions
class.
public LoadOptions(string password)
Parameter |
Type |
Description |
password |
String |
The password for opening password-protected file. |
See Also
LoadOptions(string, Encoding)
Initializes new instance of LoadOptions
class.
public LoadOptions(string password, Encoding encoding)
Parameter |
Type |
Description |
password |
String |
The password for opening password-protected file. |
encoding |
Encoding |
The encoding used when opening text-based files such as CSV or TXT . |
Exceptions
exception |
condition |
ArgumentNullException |
Thrown when encoding is null. |
See Also
LoadOptions(FileType, string)
Initializes new instance of LoadOptions
class.
public LoadOptions(FileType fileType, string password)
Parameter |
Type |
Description |
fileType |
FileType |
The type of the file to load. |
password |
String |
The password for opening password-protected file. |
Exceptions
exception |
condition |
ArgumentNullException |
Thrown when fileType is null. |
See Also
LoadOptions(FileType, string, Encoding)
Initializes new instance of LoadOptions
class.
public LoadOptions(FileType fileType, string password, Encoding encoding)
Parameter |
Type |
Description |
fileType |
FileType |
The type of the file to load. |
password |
String |
The password for opening password-protected file. |
encoding |
Encoding |
The encoding used when opening text-based files such as CSV or TXT . |
Exceptions
exception |
condition |
ArgumentNullException |
Thrown when fileType is null. |
ArgumentNullException |
Thrown when encoding is null. |
See Also
LoadOptions(string, FileType, string, Encoding)
Initializes new instance of LoadOptions
class.
public LoadOptions(string extension, FileType fileType, string password, Encoding encoding)
Parameter |
Type |
Description |
extension |
String |
The extension of the file to load. |
fileType |
FileType |
The type of the file to load. |
password |
String |
The password for opening password-protected file. |
encoding |
Encoding |
The encoding used when opening text-based files such as CSV or TXT . |
Exceptions
exception |
condition |
ArgumentNullException |
Thrown when fileType is null. |
ArgumentNullException |
Thrown when encoding is null. |
See Also
LoadOptions(FileType, FileType, string, Encoding)
Initializes new instance of LoadOptions
class.
public LoadOptions(FileType iniFileType, FileType fileType, string password, Encoding encoding)
Parameter |
Type |
Description |
iniFileType |
FileType |
The type of the file to init. |
fileType |
FileType |
The type of the file to load. |
password |
String |
The password for opening password-protected file. |
encoding |
Encoding |
The encoding used when opening text-based files such as CSV or TXT . |
Exceptions
exception |
condition |
ArgumentNullException |
Thrown when iniFileType is null. |
ArgumentNullException |
Thrown when fileType is null. |
ArgumentNullException |
Thrown when encoding is null. |
See Also
LoadOptions(FileType, FileType, string)
Initializes new instance of LoadOptions
class.
public LoadOptions(FileType iniFileType, FileType fileType, string password)
Parameter |
Type |
Description |
iniFileType |
FileType |
The type of the file to init. |
fileType |
FileType |
The type of the file to load. |
password |
String |
The password for opening password-protected file. |
Exceptions
exception |
condition |
ArgumentNullException |
Thrown when iniFileType is null. |
ArgumentNullException |
Thrown when fileType is null. |
See Also
LoadOptions(FileType, FileType)
Initializes new instance of LoadOptions
class.
public LoadOptions(FileType iniFileType, FileType fileType)
Parameter |
Type |
Description |
iniFileType |
FileType |
The type of the file to init. |
fileType |
FileType |
The type of the file to load. |
Exceptions
exception |
condition |
ArgumentNullException |
Thrown when iniFileType is null. |
ArgumentNullException |
Thrown when fileType is null. |
See Also