SrgsItem Constructor

Microsoft Speech Platform SDK 11

Collapse image Expand Image Copy image CopyHover image

Initializes a new instance of the SrgsItem class.

Overload List

  Name Description
Public method SrgsItem()()()() Initializes a new instance of the SrgsItem class.
Public method SrgsItem(Int32) Initializes a new instance of the SrgsItem class and specifies the number of times that its contents must be spoken.
Public method SrgsItem(String) Initializes a new instance of the SrgsItem class and specifies its textual contents.
Public method SrgsItem(array<SrgsElement>[]()[][]) Initializes a new instance of the SrgsItem class and specifies an array of SrgsElement objects to add to this instance.
Public method SrgsItem(Int32, Int32) Initializes a new instance of the SrgsItem class and specifies minimum and maximum repetition counts.
Public method SrgsItem(Int32, Int32, array<SrgsElement>[]()[][]) Initializes a new instance of the SrgsItem class, specifies an array of SrgsElement objects to add to this instance, and sets minimum and maximum repetition counts.
Public method SrgsItem(Int32, Int32, String) Initializes a new instance of the SrgsItem class, specifies the text associated with the item, and sets minimum and maximum repetition counts.
Top

Remarks

This overloaded constructer for SrgsItem initializes the object with a default repeatCount parameter of 0. To set the repeatCount when instantiating an SrgsItem object, use the SrgsItem constructor. To set a range of repeat counts, for example from 2 to 4, use the SrgsItem(Int32, Int32) constructor.

See Also