共用方式為


CSharpCodeProvider.CreateCompiler 方法

定義

警告

ICodeCompiler has been deprecated. Use the methods directly on the CodeDomProvider class instead.

警告

Callers should not use the ICodeCompiler interface and should instead use the methods directly on the CodeDomProvider class.

取得 C# 程式碼編譯器的執行個體。

public:
 override System::CodeDom::Compiler::ICodeCompiler ^ CreateCompiler();
[System.Obsolete("ICodeCompiler has been deprecated. Use the methods directly on the CodeDomProvider class instead.")]
public override System.CodeDom.Compiler.ICodeCompiler CreateCompiler ();
public override System.CodeDom.Compiler.ICodeCompiler CreateCompiler ();
[System.Obsolete("Callers should not use the ICodeCompiler interface and should instead use the methods directly on the CodeDomProvider class.")]
public override System.CodeDom.Compiler.ICodeCompiler CreateCompiler ();
[<System.Obsolete("ICodeCompiler has been deprecated. Use the methods directly on the CodeDomProvider class instead.")>]
override this.CreateCompiler : unit -> System.CodeDom.Compiler.ICodeCompiler
override this.CreateCompiler : unit -> System.CodeDom.Compiler.ICodeCompiler
[<System.Obsolete("Callers should not use the ICodeCompiler interface and should instead use the methods directly on the CodeDomProvider class.")>]
override this.CreateCompiler : unit -> System.CodeDom.Compiler.ICodeCompiler
Public Overrides Function CreateCompiler () As ICodeCompiler

傳回

C# ICodeCompiler 實作的執行個體。

屬性

適用於

另請參閱