SrgsDocument Class
Defines a design-time object that is used to build strongly typed runtime SRGS grammars.
Namespace: Microsoft.Speech.Recognition.SrgsGrammar
Assembly: Microsoft.Speech (in microsoft.speech.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public NotInheritable Class SrgsDocument
[SerializableAttribute]
public sealed class SrgsDocument
[SerializableAttribute]
public ref class SrgsDocument sealed
/** @attribute SerializableAttribute() */
public final class SrgsDocument
SerializableAttribute
public final class SrgsDocument
Remarks
After the SrgsDocument object is created, it can be loaded into a Grammar object or compiled by SrgsGrammarCompiler, enabling it to be read by a Grammar object.
Inheritance Hierarchy
System.Object
Microsoft.Speech.Recognition.SrgsGrammar.SrgsDocument
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
SrgsDocument Members
Microsoft.Speech.Recognition.SrgsGrammar Namespace
Grammar Class
SrgsGrammarCompiler