Windows apps
Collapse the table of content
Expand the table of content
Information
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^>^)

 

Adds the contents of an array of SrgsRule objects to the SrgsRulesCollection object.

Namespace:   System.Speech.Recognition.SrgsGrammar
Assembly:  System.Speech (in System.Speech.dll)

public:
void Add(
	... array<SrgsRule^>^ rules
)

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
Return to top
Show:
© 2017 Microsoft