Partager via


Note

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

SrgsOneOf Members

Include Protected Members
Include Inherited Members

Represents a list of alternative words or phrases, any one of which may be used to match speech input.

The SrgsOneOf type exposes the following members.

Constructors

  Name Description
Public method SrgsOneOf() Initializes a new instance of the SrgsOneOf class.
Public method SrgsOneOf([]) Initializes a new instance of the SrgsOneOf class from an array of String objects.
Public method SrgsOneOf([]) Initializes a new instance of the SrgsOneOf class, specifying one or more alternative items in the passed SrgsItem array.

Top

Properties

  Name Description
Public property Items Gets the list of all the alternatives contained in the SrgsOneOf element.

Top

Methods

  Name Description
Public method Add Adds an SrgsItem containing a word or a phrase to the list of alternatives.
Public method CreateObjRef (inherited from MarshalByRefObject)
Public method Equals (inherited from Object)
Protected method Finalize (inherited from Object)
Public method GetHashCode (inherited from Object)
Public method GetLifetimeService (inherited from MarshalByRefObject)
Public method GetType (inherited from Object)
Public method InitializeLifetimeService (inherited from MarshalByRefObject)
Protected method MemberwiseClone() (inherited from Object)
Protected method MemberwiseClone(Boolean) (inherited from MarshalByRefObject)
Public method ToString (inherited from Object)

Top

See Also

Reference

SrgsOneOf Class

Microsoft.Speech.Recognition.SrgsGrammar Namespace