Επεξεργασία

Κοινή χρήση μέσω


CSharpCodeProvider.CreateCompiler Method

Definition

Caution

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

Caution

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

Gets an instance of the C# code compiler.

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

Returns

An instance of the C# ICodeCompiler implementation.

Attributes

Applies to

See also