次の方法で共有


VBCodeProvider.CreateCompiler メソッド

メモ : このメソッドは,互換性のために残されています。

Visual Basic コード コンパイラのインスタンスを取得します。

名前空間: Microsoft.VisualBasic
アセンブリ: System (system.dll 内)

構文

'宣言
<ObsoleteAttribute("Callers should not use the ICodeCompiler interface and should instead use the methods directly on the CodeDomProvider class.")> _
Public Overrides Function CreateCompiler As ICodeCompiler
'使用
Dim instance As VBCodeProvider
Dim returnValue As ICodeCompiler

returnValue = instance.CreateCompiler
[ObsoleteAttribute("Callers should not use the ICodeCompiler interface and should instead use the methods directly on the CodeDomProvider class.")] 
public override ICodeCompiler CreateCompiler ()
[ObsoleteAttribute(L"Callers should not use the ICodeCompiler interface and should instead use the methods directly on the CodeDomProvider class.")] 
public:
virtual ICodeCompiler^ CreateCompiler () override
/** @attribute ObsoleteAttribute("Callers should not use the ICodeCompiler interface and should instead use the methods directly on the CodeDomProvider class.") */ 
public ICodeCompiler CreateCompiler ()
ObsoleteAttribute("Callers should not use the ICodeCompiler interface and should instead use the methods directly on the CodeDomProvider class.") 
public override function CreateCompiler () : ICodeCompiler
適用できません。

戻り値

Visual Basic ICodeCompiler 実装のインスタンス。

プラットフォーム

Windows 98,Windows Server 2000 SP4,Windows CE,Windows Millennium Edition,Windows Mobile for Pocket PC,Windows Mobile for Smartphone,Windows Server 2003,Windows XP Media Center Edition,Windows XP Professional x64 Edition,Windows XP SP2,Windows XP Starter Edition

Microsoft .NET Framework 3.0 は Windows Vista,Microsoft Windows XP SP2,および Windows Server 2003 SP1 でサポートされています。

バージョン情報

.NET Framework

サポート対象 : 1.0,1.1,2.0
3.0 では,互換性のために残されています (コンパイル時に警告)

参照

関連項目

VBCodeProvider クラス
VBCodeProvider メンバ
Microsoft.VisualBasic 名前空間
ICodeCompiler