SrgsGrammarCompiler.CompileClassLibrary Method
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.
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. |
- 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
.NET 10 (package-provided) ve diğer sürümler
Ürün | Sürümler |
---|---|
.NET | 8 (package-provided), 9 (package-provided), 10 (package-provided) |
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
- 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
.NET 10 (package-provided) ve diğer sürümler
Ürün | Sürümler |
---|---|
.NET | 8 (package-provided), 9 (package-provided), 10 (package-provided) |
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
- 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 10 (package-provided) ve diğer sürümler
Ürün | Sürümler |
---|---|
.NET | 8 (package-provided), 9 (package-provided), 10 (package-provided) |
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
.NET geri bildirimi
.NET, açık kaynak bir projedir. Geri bildirim sağlamak için bir bağlantı seçin: