Choices Members

Microsoft Speech Platform SDK 11

Collapse imageExpand ImageCopy imageCopyHover image

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

The Choices type exposes the following members.

Constructors

  NameDescription
Public methodChoices()()()()Initializes a new instance of the Choices class that contains an empty set of alternatives.
Public methodChoices(array<String>[]()[][])Initializes a new instance of the Choices class from an array containing one or more String objects.
Public methodChoices(array<GrammarBuilder>[]()[][])Initializes a new instance of the Choices class from an array containing one or more GrammarBuilder objects.
Top

Methods

  NameDescription
Public methodAdd(array<String>[]()[][])Adds an array containing one or more String objects to the set of alternatives.
Public methodAdd(array<GrammarBuilder>[]()[][])Adds an array containing one or more GrammarBuilder objects to the set of alternatives.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToGrammarBuilderReturns a GrammarBuilder object from this Choices object.
Public methodToString (Inherited from Object.)
Top

See Also