SrgsGrammarCompiler.Compile Method (String, Stream)
Compiles a grammar to a file.
Assembly: Microsoft.Speech (in microsoft.speech.dll)
The path of the file to compile.
The stream that receives the results of compilation.
inputPath is null.
outputStream is null.
inputPath is an empty string.
When accessing files, a security check is performed when the file is created or opened. The security check is typically not done again unless the file is closed and reopened.
All public static (Shared in Visual Basic) members of this type are thread-safe. Instance members are not guaranteed to be thread-safe.
Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003, Windows Vista Ultimate Edition, Windows Vista Business Edition, Windows Vista Enterprise Edition