Поделиться через


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

Возвращаемое значение

Экземпляр реализации ICodeCompiler C#.

Атрибуты

Применяется к

См. также раздел