SrgsGrammarCompiler.CompileClassLibrary Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Compiles an SRGS document into a DLL.
Overloads
CompileClassLibrary(SrgsDocument, String, String[], String) |
Compiles an SRGS document into a DLL. |
CompileClassLibrary(String[], String, String[], String) |
Compiles multiple SRGS grammars into a DLL. |
CompileClassLibrary(XmlReader, String, String[], String) |
Compiles an SRGS grammar into a DLL. |
CompileClassLibrary(SrgsDocument, String, String[], String)
- Source:
- SrgsGrammarCompiler.cs
- Source:
- SrgsGrammarCompiler.cs
- Source:
- SrgsGrammarCompiler.cs
- Source:
- SrgsGrammarCompiler.cs
Compiles an SRGS document into a DLL.
public:
static void CompileClassLibrary(System::Speech::Recognition::SrgsGrammar::SrgsDocument ^ srgsGrammar, System::String ^ outputPath, cli::array <System::String ^> ^ referencedAssemblies, System::String ^ keyFile);
public static void CompileClassLibrary (System.Speech.Recognition.SrgsGrammar.SrgsDocument srgsGrammar, string outputPath, string[] referencedAssemblies, string keyFile);
static member CompileClassLibrary : System.Speech.Recognition.SrgsGrammar.SrgsDocument * string * string[] * string -> unit
Public Shared Sub CompileClassLibrary (srgsGrammar As SrgsDocument, outputPath As String, referencedAssemblies As String(), keyFile As String)
Parameters
- srgsGrammar
- SrgsDocument
The SrgsDocument that contains the grammar to compile.
- outputPath
- String
The path of the output DLL.
- referencedAssemblies
- String[]
A list of the assemblies referenced from the input grammars.
- keyFile
- String
The name of the file that contains a pair of keys, thereby enabling the output DLL to be signed.
Exceptions
outputPath
is an empty string.
Applies to
CompileClassLibrary(String[], String, String[], String)
- Source:
- SrgsGrammarCompiler.cs
- Source:
- SrgsGrammarCompiler.cs
- Source:
- SrgsGrammarCompiler.cs
- Source:
- SrgsGrammarCompiler.cs
Compiles multiple SRGS grammars into a DLL.
public:
static void CompileClassLibrary(cli::array <System::String ^> ^ inputPaths, System::String ^ outputPath, cli::array <System::String ^> ^ referencedAssemblies, System::String ^ keyFile);
public static void CompileClassLibrary (string[] inputPaths, string outputPath, string[] referencedAssemblies, string keyFile);
static member CompileClassLibrary : string[] * string * string[] * string -> unit
Public Shared Sub CompileClassLibrary (inputPaths As String(), outputPath As String, referencedAssemblies As String(), keyFile As String)
Parameters
- inputPaths
- String[]
A list of the grammars to compile.
- outputPath
- String
The path of the output DLL.
- referencedAssemblies
- String[]
A list of the assemblies referenced from the input grammars.
- keyFile
- String
The name of the file that contains a pair of keys, thereby enabling the output DLL to be signed.
Exceptions
Applies to
CompileClassLibrary(XmlReader, String, String[], String)
- Source:
- SrgsGrammarCompiler.cs
- Source:
- SrgsGrammarCompiler.cs
- Source:
- SrgsGrammarCompiler.cs
- Source:
- SrgsGrammarCompiler.cs
Compiles an SRGS grammar into a DLL.
public:
static void CompileClassLibrary(System::Xml::XmlReader ^ reader, System::String ^ outputPath, cli::array <System::String ^> ^ referencedAssemblies, System::String ^ keyFile);
public static void CompileClassLibrary (System.Xml.XmlReader reader, string outputPath, string[] referencedAssemblies, string keyFile);
static member CompileClassLibrary : System.Xml.XmlReader * string * string[] * string -> unit
Public Shared Sub CompileClassLibrary (reader As XmlReader, outputPath As String, referencedAssemblies As String(), keyFile As String)
Parameters
- outputPath
- String
The path of the output DLL.
- referencedAssemblies
- String[]
A list of the assemblies referenced from the input grammars.
- keyFile
- String
The name of the file that contains a pair of keys, thereby enabling the output DLL to be signed.
Exceptions
outputPath
is an empty string.
Applies to
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示