Method RemoveEntries
RemoveEntries(string)
Removes all entries with the specified text.
Declaration
public int RemoveEntries(string text)
Parameters
| Type | Name | Description |
|---|---|---|
| string | text | The text that will be removed. |
Returns
| Type | Description |
|---|---|
| int | The number of locale entries removed. |
Remarks
The stored entries can be written with any of the WriteEntries() methods.
RemoveEntries(Func<LocaleEntry, bool>)
Removes all entries that match the specified predicate.
Declaration
public int RemoveEntries(Func<LocaleEntry, bool> predicate)
Parameters
| Type | Name | Description |
|---|---|---|
| Func<LocaleEntry, bool> | predicate | A function to test each locale entry with a condition. |
Returns
| Type | Description |
|---|---|
| int | The number of locale entries removed. |
Remarks
The stored entries can be written with any of the WriteEntries() methods.
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException |