Represents a word or short phrase that can be recognized.
public ref class SrgsToken : System::Speech::Recognition::SrgsGrammar::SrgsElement
[System.Serializable] public class SrgsToken : System.Speech.Recognition.SrgsGrammar.SrgsElement
type SrgsToken = class inherit SrgsElement
Public Class SrgsToken Inherits SrgsElement
If multiple words are stored in a single SrgsToken object, each is treated as a different token internally and in the result.
This class represents the
token element defined by the World Wide Web Consortium (W3C) Speech Recognition Grammar Specification (SRGS) Version 1.0.. For information about the SRGS
token element and details about its support by System.Speech, see token Element.
Initializes a new instance of the SrgsToken class and specifies the text to be recognized.
Gets or sets the display form of the text to be spoken.
Gets or sets the string that defines the pronunciation for the token.
Gets or sets the written form of the word that should be spoken.
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.(Inherited from MarshalByRefObject)
Determines whether the specified object is equal to the current object.(Inherited from Object)
Serves as the default hash function.(Inherited from Object)
Retrieves the current lifetime service object that controls the lifetime policy for this instance.(Inherited from MarshalByRefObject)
Gets the Type of the current instance.(Inherited from Object)
Obtains a lifetime service object to control the lifetime policy for this instance.(Inherited from MarshalByRefObject)
Creates a shallow copy of the current Object.(Inherited from Object)
Creates a shallow copy of the current MarshalByRefObject object.(Inherited from MarshalByRefObject)
Returns a string that represents the current object.(Inherited from Object)