SrgsItem Members
Represents the grammar element that contains phrases or other entities that a user can speak to produce a successful recognition.
The following tables list the members exposed by the SrgsItem type.
Public Constructors
Name | Description | |
---|---|---|
SrgsItem | Overloaded. Initializes a new instance of the SrgsItem class. |
Top
Public Properties
Name | Description | |
---|---|---|
![]() |
Elements | Gets the collection of objects that make up the SrgsItem instance. |
![]() |
MaxRepeat | Gets the maximum number of times that a user can speak the item. |
![]() |
MinRepeat | Gets the minimum number of times that a user can speak the item. |
![]() |
RepeatProbability | Gets or sets the probability that a user will repeat the item in this SrgsItem instance. |
![]() |
Weight | Gets or sets a multiplying factor that adjusts the likelihood that an item within a list will be spoken. |
Top
Public Methods
(see also Protected Methods )
Name | Description | |
---|---|---|
![]() |
Add | Adds the item to the list of items belonging to this SrgsItem instance. |
![]() |
CreateObjRef | (inherited from MarshalByRefObject ) |
![]() |
Equals | Overloaded. (inherited from Object ) |
![]() |
GetHashCode | (inherited from Object ) |
![]() |
GetLifetimeService | (inherited from MarshalByRefObject ) |
![]() |
GetType | (inherited from Object ) |
![]() |
InitializeLifetimeService | (inherited from MarshalByRefObject ) |
![]() ![]() |
ReferenceEquals | (inherited from Object ) |
![]() |
SetRepeat | Overloaded. Sets the repetition count for an item. |
![]() |
ToString | (inherited from Object ) |
Top
Protected Methods
Name | Description | |
---|---|---|
![]() |
Finalize | (inherited from Object ) |
![]() |
MemberwiseClone | Overloaded. (inherited from MarshalByRefObject ) |
Top
See Also
Reference
SrgsItem Class
Microsoft.Speech.Recognition.SrgsGrammar Namespace