Method WriteEntries
WriteEntries()
Writes the stored locale entries to the .dat file and .dir file specified upon creation of this instance.
Declaration
public LocaleFileInfo WriteEntries()
Returns
| Type | Description |
|---|---|
| LocaleFileInfo | A new instance of LocaleFileInfo with the updated entries, locations, and metadata. |
WriteEntries(string, string)
Writes the stored locale entries to the specified .dat file and .dir file.
Declaration
public LocaleFileInfo WriteEntries(string localeDatPath, string localeDirPath)
Parameters
| Type | Name | Description |
|---|---|---|
| string | localeDatPath | The path to write the locale .dat file. |
| string | localeDirPath | The path to write the locale .dir file. |
Returns
| Type | Description |
|---|---|
| LocaleFileInfo | A new instance of LocaleFileInfo for the specified .dat file and .dir file. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException |
WriteEntries(FileInfo, FileInfo)
Writes the stored locale entries to the specified .dat file and .dir file.
Declaration
public LocaleFileInfo WriteEntries(FileInfo localeDatFile, FileInfo localeDirFile)
Parameters
| Type | Name | Description |
|---|---|---|
| FileInfo | localeDatFile | The file representing where to write the locale .dat file. |
| FileInfo | localeDirFile | The file representing where to write the locale .dir file. |
Returns
| Type | Description |
|---|---|
| LocaleFileInfo | A new instance of LocaleFileInfo for the specified .dat file and .dir file. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException |