Partage via


CSharpCodeProvider.CreateCompiler Méthode

Définition

Attention

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

Attention

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

Obtient une instance du compilateur de code 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

Retours

Instance de l'implémentation C# de ICodeCompiler.

Attributs

S’applique à

Voir aussi