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 Sub GetCompilerParameters (
	virtualPath As String,
	<OutAttribute> ByRef codeDomProviderType As Type,
	<OutAttribute> ByRef compilerParameters As 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: