VBCodeProvider.CreateCompiler 方法

定义

注意

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

注意

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

获取 Visual Basic 代码编译器的实例。

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.")]
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.")>]
override this.CreateCompiler : unit -> System.CodeDom.Compiler.ICodeCompiler
[<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
Public Overrides Function CreateCompiler () As ICodeCompiler

返回

Visual Basic ICodeCompiler 实现的实例。

属性

适用于

另请参阅