Method AddEntries
AddEntries(IEnumerable<string>)
Adds the specified collection of strings as locale entries.
Declaration
public List<int> AddEntries(IEnumerable<string> contents)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<string> | contents | The collection of strings to add as entries. |
Returns
| Type | Description |
|---|---|
| List<int> | The IDs of the new locale entries. |
Remarks
The stored entries can be written with any of the WriteEntries() methods.
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | |
| InvalidOperationException |