CodeDomProvider.CreateCompiler メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > CodeDomProvider.CreateCompiler メソッドの意味・解説 

CodeDomProvider.CreateCompiler メソッド

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

派生クラスオーバーライドされると、新しコード コンパイラ作成します

名前空間: System.CodeDom.Compiler
アセンブリ: System (system.dll 内)
構文構文

<ObsoleteAttribute("Callers should not use the ICodeCompiler
 interface and should instead use the methods directly on the CodeDomProvider class.
 Those inheriting from CodeDomProvider must still implement this interface, and should exclude this warning or also obsolete this method.")> _
Public MustOverride Function
 CreateCompiler As ICodeCompiler
Dim instance As CodeDomProvider
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.
 Those inheriting from CodeDomProvider must still implement this interface, and should exclude this warning or also obsolete this
 method.")] 
public abstract ICodeCompiler CreateCompiler ()
[ObsoleteAttribute(L"Callers should not use the ICodeCompiler interface and
 should instead use the methods directly on the CodeDomProvider class.
 Those inheriting from CodeDomProvider must still implement this interface, and should exclude this warning or also obsolete
 this method.")] 
public:
virtual ICodeCompiler^ CreateCompiler () abstract
/** @attribute ObsoleteAttribute("Callers should not use the ICodeCompiler interface
 and should instead use the methods directly on the CodeDomProvider class.
 Those inheriting from CodeDomProvider must still implement this interface, and should exclude this warning or also obsolete this
 method.") */ 
public abstract ICodeCompiler CreateCompiler ()
ObsoleteAttribute("Callers should not use the ICodeCompiler interface and should
 instead use the methods directly on the CodeDomProvider class.
 Those inheriting from CodeDomProvider must still implement this interface, and should exclude this warning or also obsolete this
 method.") 
public abstract function CreateCompiler ()
 : ICodeCompiler

戻り値
System.CodeDom ベースソース コードコンパイルするために使用できる ICodeCompiler。

解説解説

Microsoft .NET Framework version 2.0 では、このメソッド使用されません。このメソッド代わりにコード プロバイダ直接使用できる ICodeCompiler メソッド呼び出すことをお勧めます。

継承時の注意 .NET Framework 2.0 では、CodeDomProvider クラスICodeCompilerメンバ実装し、このメソッド呼び出されたら NotSupportedException をスローする必要があります

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
CodeDomProvider クラス
CodeDomProvider メンバ
System.CodeDom.Compiler 名前空間


このページでは「.NET Framework クラス ライブラリ リファレンス」からCodeDomProvider.CreateCompiler メソッドを検索した結果を表示しています。
Weblioに収録されているすべての辞書からCodeDomProvider.CreateCompiler メソッドを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からCodeDomProvider.CreateCompiler メソッド を検索

英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

CodeDomProvider.CreateCompiler メソッドのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



CodeDomProvider.CreateCompiler メソッドのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS