Share via


Note

Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.

Choices Members

Include Protected Members
Include Inherited Members

Represents a list of alternative items to make up an element in a grammar.

The Choices type exposes the following members.

Constructors

  Name Description
Public method Choices() Initializes a new instance of the Choices class that contains an empty set of alternatives.
Public method Choices([]) Initializes a new instance of the Choices class from an array containing one or more String objects.
Public method Choices([]) Initializes a new instance of the Choices class from an array containing one or more GrammarBuilder objects.

Top

Methods

  Name Description
Public method Add([]) Adds an array containing one or more String objects to the set of alternatives.
Public method Add([]) Adds an array containing one or more GrammarBuilder objects to the set of alternatives.
Public method Equals (inherited from Object)
Protected method Finalize (inherited from Object)
Public method GetHashCode (inherited from Object)
Public method GetType (inherited from Object)
Protected method MemberwiseClone (inherited from Object)
Public method ToGrammarBuilder Returns a GrammarBuilder object from this Choices object.
Public method ToString (inherited from Object)

Top

See Also

Reference

Choices Class

Microsoft.Speech.Recognition Namespace