This documentation is archived and is not being maintained.

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)

public sealed class SrgsDocument
/** @attribute SerializableAttribute() */ 
public final class SrgsDocument
public final class SrgsDocument

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.


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