LoadOptions constructor
init
Initializes new instance of LoadOptions
class.
def __init__(self, file_type):
...
Parameter |
Type |
Description |
file_type |
FileType |
The type of the file to load. |
Exceptions
Exception |
Description |
ArgumentNullException |
Thrown when file_type is null. |
init
Initializes new instance of LoadOptions
class.
def __init__(self, password):
...
Parameter |
Type |
Description |
password |
str |
The password for opening password-protected file. |
init
Initializes new instance of LoadOptions
class.
def __init__(self, password, encoding):
...
Parameter |
Type |
Description |
password |
str |
The password for opening password-protected file. |
encoding |
System.Text.Encoding |
The encoding used when opening text-based files such as FileType.CSV or FileType.TXT . |
Exceptions
Exception |
Description |
ArgumentNullException |
Thrown when encoding is null. |
init
Initializes new instance of LoadOptions
class.
def __init__(self, file_type, password):
...
Parameter |
Type |
Description |
file_type |
FileType |
The type of the file to load. |
password |
str |
The password for opening password-protected file. |
Exceptions
Exception |
Description |
ArgumentNullException |
Thrown when file_type is null. |
init
Initializes new instance of LoadOptions
class.
def __init__(self, ini_file_type, file_type):
...
Parameter |
Type |
Description |
ini_file_type |
FileType |
The type of the file to init. |
file_type |
FileType |
The type of the file to load. |
Exceptions
Exception |
Description |
ArgumentNullException |
Thrown when ini_file_type is null. |
ArgumentNullException |
Thrown when file_type is null. |
init
Initializes new instance of LoadOptions
class.
def __init__(self, file_type, password, encoding):
...
Parameter |
Type |
Description |
file_type |
FileType |
The type of the file to load. |
password |
str |
The password for opening password-protected file. |
encoding |
System.Text.Encoding |
The encoding used when opening text-based files such as FileType.CSV or FileType.TXT . |
Exceptions
Exception |
Description |
ArgumentNullException |
Thrown when file_type is null. |
ArgumentNullException |
Thrown when encoding is null. |
init
Initializes new instance of LoadOptions
class.
def __init__(self, ini_file_type, file_type, password):
...
Parameter |
Type |
Description |
ini_file_type |
FileType |
The type of the file to init. |
file_type |
FileType |
The type of the file to load. |
password |
str |
The password for opening password-protected file. |
Exceptions
Exception |
Description |
ArgumentNullException |
Thrown when ini_file_type is null. |
ArgumentNullException |
Thrown when file_type is null. |
init
Initializes new instance of LoadOptions
class.
def __init__(self, extension, file_type, password, encoding):
...
Parameter |
Type |
Description |
extension |
str |
The extension of the file to load. |
file_type |
FileType |
The type of the file to load. |
password |
str |
The password for opening password-protected file. |
encoding |
System.Text.Encoding |
The encoding used when opening text-based files such as FileType.CSV or FileType.TXT . |
Exceptions
Exception |
Description |
ArgumentNullException |
Thrown when file_type is null. |
ArgumentNullException |
Thrown when encoding is null. |
init
Initializes new instance of LoadOptions
class.
def __init__(self, ini_file_type, file_type, password, encoding):
...
Parameter |
Type |
Description |
ini_file_type |
FileType |
The type of the file to init. |
file_type |
FileType |
The type of the file to load. |
password |
str |
The password for opening password-protected file. |
encoding |
System.Text.Encoding |
The encoding used when opening text-based files such as FileType.CSV or FileType.TXT . |
Exceptions
Exception |
Description |
ArgumentNullException |
Thrown when ini_file_type is null. |
ArgumentNullException |
Thrown when file_type is null. |
ArgumentNullException |
Thrown when encoding is null. |
See Also