Compiler(String, String, String, String, Int32) Constructor
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.
Creates an instance of a Compiler initialized to the provided values.
public:
Compiler(System::String ^ compilerOptions, System::String ^ extension, System::String ^ language, System::String ^ type, int warningLevel);
public Compiler (string compilerOptions, string extension, string language, string type, int warningLevel);
new System.Web.Configuration.Compiler : string * string * string * string * int -> System.Web.Configuration.Compiler
Public Sub New (compilerOptions As String, extension As String, language As String, type As String, warningLevel As Integer)
Parameters
- compilerOptions
- String
Lists additional compiler-specific options to pass during compilation.
- extension
- String
Provides a semicolon-separated list of file-name extensions used for dynamic code-behind files. For example, ".cs".
- language
- String
Provides a semicolon-separated list of languages used in dynamic compilation files. For example, "c#;cs;csharp".
- type
- String
Specifies a comma-separated class/assembly combination that indicates the .NET Framework class.
- warningLevel
- Int32
Specifies compiler warning levels.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈