Share via


SrgsDocument Class

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Defines a design-time object that is used to build strongly typed run-time Speech Recognition Grammar Specification (SRGS) grammars.

Namespace: Microsoft.SpeechServer.Recognition.SrgsGrammar
Assembly: Microsoft.SpeechServer (in microsoft.speechserver.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public NotInheritable Class SrgsDocument
[SerializableAttribute] 
public sealed 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.SpeechServer.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

Windows Server 2003

See Also

Reference

SrgsDocument Members
Microsoft.SpeechServer.Recognition.SrgsGrammar Namespace