SrgsItem Constructor

Initializes a new instance of the SrgsItem class.

Remarks

This overloaded constructer for SrgsItem initializes the object with a default repeatCount property of 0. To set the repeatCount

Overload List

Name Description
SrgsItem ()
Initializes a new instance of the SrgsItem class.
SrgsItem (Int32)
Initializes a new instance of the SrgsItem class, specifying the number of times that the item can be spoken.
SrgsItem (SrgsElement[])
Initializes a new instance of the SrgsItem class, specifying an array of SrgsElement objects to be added to this instance.
SrgsItem (String)
Initializes a new instance of the SrgsItem class, specifying the text of the item.
SrgsItem (Int32, Int32)
Initializes a new instance of the SrgsItem class, specifying minimum and maximum repetition counts.
SrgsItem (Int32, Int32, SrgsElement[])
Initializes a new instance of the SrgsItem class, specifying minimum and maximum repetition counts and specifying an array of SrgsElement objects to be added to this instance.
SrgsItem (Int32, Int32, String)
Initializes a new instance of the SrgsItem class, specifying minimum and maximum repetition counts for the item and specifying the text associated with the item.

See Also

Reference

SrgsItem Class
SrgsItem Members
Microsoft.Speech.Recognition.SrgsGrammar Namespace