ClientBuildManager.GetCompilerParameters メソッド

定義

仮想パスで表されるファイルのビルドに使用されるコンパイラの型とパラメーターを返します。

public:
 void GetCompilerParameters(System::String ^ virtualPath, [Runtime::InteropServices::Out] Type ^ % codeDomProviderType, [Runtime::InteropServices::Out] System::CodeDom::Compiler::CompilerParameters ^ % compilerParameters);
public void GetCompilerParameters(string virtualPath, out Type codeDomProviderType, out System.CodeDom.Compiler.CompilerParameters compilerParameters);
member this.GetCompilerParameters : string * Type * CompilerParameters -> unit
Public Sub GetCompilerParameters (virtualPath As String, ByRef codeDomProviderType As Type, ByRef compilerParameters As CompilerParameters)

パラメーター

virtualPath
String

ファイルへの仮想パス。

codeDomProviderType
Type

このメソッドから制御が戻るときに、コードの生成とコンパイルに使用されるプロバイダー型が格納されます。

compilerParameters
CompilerParameters

このメソッドから制御が戻るときに、ファイルのコンパイル方法を定義するプロパティが格納されます。

例外

virtualPath が null です。

適用対象

こちらもご覧ください