Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Choices Members

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

The Choices type exposes the following members.

  NameDescription
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

  NameDescription
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
Show:
© 2015 Microsoft