Method AddEntry
AddEntry(string)
Adds a locale entry with the specified text.
Declaration
public int AddEntry(string text)
Parameters
| Type | Name | Description |
|---|---|---|
| string | text | The text to add as an entry. |
Returns
| Type | Description |
|---|---|
| int | The ID of the new locale entry. |
Remarks
The stored entries can be written with any of the WriteEntries() methods.
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | |
| InvalidOperationException |