ClientBuildManager::GetCompilerParameters Method (String^, Type^%, CompilerParameters^%)

 

Returns the compiler type and parameters that are used to build a file represented by a virtual path.

Namespace:   System.Web.Compilation
Assembly:  System.Web (in System.Web.dll)

public:
void GetCompilerParameters(
	String^ virtualPath,
	[OutAttribute] Type^% codeDomProviderType,
	[OutAttribute] CompilerParameters^% compilerParameters
)

Parameters

virtualPath
Type: System::String^

The virtual path to the file.

codeDomProviderType
Type: System::Type^%

When this method returns, contains the provider type used for code generation and compilation.

compilerParameters
Type: System.CodeDom.Compiler::CompilerParameters^%

When this method returns, contains the properties that define how the file will be compiled.

Exception Condition
ArgumentNullException

virtualPath is null.

.NET Framework
Available since 2.0
Return to top
Show: