SrgsOneOf Class
Represents a list of items from which a user can speak only one.
Namespace: Microsoft.Speech.Recognition.SrgsGrammar
Assembly: Microsoft.Speech (in microsoft.speech.dll)
Syntax
'Declaration
<SerializableAttribute> _
<DebuggerDisplayAttribute("{DebuggerDisplayString ()}")> _
Public NotInheritable Class SrgsOneOf
Inherits SrgsElement
[SerializableAttribute]
[DebuggerDisplayAttribute("{DebuggerDisplayString ()}")]
public sealed class SrgsOneOf : SrgsElement
[SerializableAttribute]
[DebuggerDisplayAttribute(L"{DebuggerDisplayString ()}")]
public ref class SrgsOneOf sealed : public SrgsElement
/** @attribute SerializableAttribute() */
/** @attribute DebuggerDisplayAttribute("{DebuggerDisplayString ()}") */
public final class SrgsOneOf extends SrgsElement
SerializableAttribute
DebuggerDisplayAttribute("{DebuggerDisplayString ()}")
public final class SrgsOneOf extends SrgsElement
Remarks
Each alternative item within the list is represented by a SrgsItem object. Use the Items property to access the alternative items in the list.
The SrgsOneOf class represents the World Wide Web Consortium (W3C) Speech Recognition Grammar Specification (SRGS) one-of element.
Inheritance Hierarchy
System.Object
System.MarshalByRefObject
Microsoft.Speech.Recognition.SrgsGrammar.SrgsElement
Microsoft.Speech.Recognition.SrgsGrammar.SrgsOneOf
Thread Safety
All public static (Shared in Visual Basic) members of this type are thread-safe. Instance members are not guaranteed to be thread-safe.
Platforms
Development Platforms
Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003, Windows Vista Ultimate Edition, Windows Vista Business Edition, Windows Vista Enterprise Edition
Target Platforms
See Also
Reference
SrgsOneOf Members
Microsoft.Speech.Recognition.SrgsGrammar Namespace