The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
SrgsRulesCollection::Add Method (array<SrgsRule^>^)
.NET Framework (current version)
Adds the contents of an array of SrgsRule objects to the SrgsRulesCollection object.
Assembly: System.Speech (in System.Speech.dll)
Parameters
- rules
-
Type:
array<System.Speech.Recognition.SrgsGrammar::SrgsRule^>^
The array of rule objects to add to the SrgsRulesCollection object.
| Exception | Condition |
|---|---|
| ArgumentNullException | rules is null. |
| ArgumentException | Any SrgsRule object in the rules array is null. |
.NET Framework
Available since 3.0
Available since 3.0
Show: