AddRange(IEnumerable<string[]>)
Adds the specified collection of synonym groups to this instance of the SynonymDictionary.
public void AddRange(IEnumerable<string[]> synonyms)
| Parameter |
Type |
Description |
| synonyms |
IEnumerable`1 |
The collection of synonym groups to add to the dictionary. |
| exception |
condition |
| ArgumentNullException |
Thrown when synonyms is null. |
| ArgumentException |
Thrown when number of synonyms in a group is less than 2. |
Adds the specified collection of synonym groups to this instance of the SynonymDictionary.
public void AddRange(string[][] synonyms)
| Parameter |
Type |
Description |
| synonyms |
String[][] |
The collection of synonym groups to add to the dictionary. |
| exception |
condition |
| ArgumentNullException |
Thrown when synonyms is null. |
| ArgumentException |
Thrown when number of synonyms in a group is less than 2. |
We value your opinion. Your feedback will help us improve our documentation.