Export (0) Print
Expand All

SrgsItem Constructor (SrgsElement[])

Initializes a new instance of the SrgsItem class and specifies an array of SrgsElement objects to add to this instance.

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

public SrgsItem(
	params SrgsElement[] elements
)

Parameters

elements
Type: System.Speech.Recognition.SrgsGrammar.SrgsElement[]

The array of objects to add to the SrgsItem instance.

ExceptionCondition
ArgumentNullException

elements is null.

ArgumentException

Any member of the elements array is null.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft