Share via


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
Dd167350.pubproperty(en-us,office.13).gif Elements Gets the collection of objects that make up the SrgsItem instance.
Dd167350.pubproperty(en-us,office.13).gif MaxRepeat Gets the maximum number of times that a user can speak the item.
Dd167350.pubproperty(en-us,office.13).gif MinRepeat Gets the minimum number of times that a user can speak the item.
Dd167350.pubproperty(en-us,office.13).gif RepeatProbability Gets or sets the probability that a user will repeat the item in this SrgsItem instance.
Dd167350.pubproperty(en-us,office.13).gif 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
Dd167350.pubmethod(en-us,office.13).gif Add Adds the item to the list of items belonging to this SrgsItem instance.
Dd167350.pubmethod(en-us,office.13).gif CreateObjRef  (inherited from MarshalByRefObject )
Dd167350.pubmethod(en-us,office.13).gif Equals  Overloaded. (inherited from Object )
Dd167350.pubmethod(en-us,office.13).gif GetHashCode  (inherited from Object )
Dd167350.pubmethod(en-us,office.13).gif GetLifetimeService  (inherited from MarshalByRefObject )
Dd167350.pubmethod(en-us,office.13).gif GetType  (inherited from Object )
Dd167350.pubmethod(en-us,office.13).gif InitializeLifetimeService  (inherited from MarshalByRefObject )
Dd167350.pubmethod(en-us,office.13).gifDd167350.static(en-us,office.13).gif ReferenceEquals  (inherited from Object )
Dd167350.pubmethod(en-us,office.13).gif SetRepeat Overloaded. Sets the repetition count for an item.
Dd167350.pubmethod(en-us,office.13).gif ToString  (inherited from Object )

Top

Protected Methods

  Name Description
Dd167350.protmethod(en-us,office.13).gif Finalize  (inherited from Object )
Dd167350.protmethod(en-us,office.13).gif MemberwiseClone  Overloaded. (inherited from MarshalByRefObject )

Top

See Also

Reference

SrgsItem Class
Microsoft.Speech.Recognition.SrgsGrammar Namespace