Add Method (SrgsRule[])
Collapse the table of content
Expand the table of content

SrgsRulesCollection.Add Method (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(
	params SrgsRule[] rules
)

Parameters

rules
Type: 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:
© 2016 Microsoft