Compiler 類別

定義

警告

The recommended alternative is Microsoft.CSharp.CSharpCodeProvider and System.CodeDom.Compiler.ICodeCompiler. The CSharpCodeProvider and CodeDom ICodeCompiler provide a much richer set of functionality for specifying how to launch the compiler.

C# 編譯器的管理包裝。

public ref class Compiler
public class Compiler
[System.Obsolete("The recommended alternative is Microsoft.CSharp.CSharpCodeProvider and System.CodeDom.Compiler.ICodeCompiler.  The CSharpCodeProvider and CodeDom ICodeCompiler provide a much richer set of functionality for specifying how to launch the compiler.")]
public class Compiler
type Compiler = class
[<System.Obsolete("The recommended alternative is Microsoft.CSharp.CSharpCodeProvider and System.CodeDom.Compiler.ICodeCompiler.  The CSharpCodeProvider and CodeDom ICodeCompiler provide a much richer set of functionality for specifying how to launch the compiler.")>]
type Compiler = class
Public Class Compiler
繼承
Compiler
屬性

備註

要在過程中編譯 C# 程式碼,呼叫 Compile(String[], String[], String, String[], IDictionary).

方法

名稱 Description
Compile(String[], String[], String, String[], IDictionary)
已淘汰.

將給定的 C# 原始碼編譯成指定的目標檔案。

Equals(Object)
已淘汰.

判斷指定的 物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()
已淘汰.

做為預設雜湊函式。

(繼承來源 Object)
GetType()
已淘汰.

取得目前實例的 Type

(繼承來源 Object)
MemberwiseClone()
已淘汰.

建立目前 Object的淺層複本。

(繼承來源 Object)
ToString()
已淘汰.

傳回表示目前 物件的字串。

(繼承來源 Object)

適用於