This documentation is archived and is not being maintained.

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)

[SerializableAttribute] 
[DebuggerDisplayAttribute("{DebuggerDisplayString ()}")] 
public sealed class SrgsOneOf : SrgsElement
/** @attribute SerializableAttribute() */ 
/** @attribute DebuggerDisplayAttribute("{DebuggerDisplayString ()}") */ 
public final class SrgsOneOf extends SrgsElement
SerializableAttribute 
DebuggerDisplayAttribute("{DebuggerDisplayString ()}") 
public final class SrgsOneOf extends SrgsElement

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.


System.Object
   System.MarshalByRefObject
     Microsoft.Speech.Recognition.SrgsGrammar.SrgsElement
      Microsoft.Speech.Recognition.SrgsGrammar.SrgsOneOf

All public static (Shared in Visual Basic) members of this type are thread-safe. Instance members are not guaranteed to be thread-safe.

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

Show: