ClientBuildManager.GetCompilerParameters Method (String, Type, CompilerParameters)
.NET Framework (current version)
Returns the compiler type and parameters that are used to build a file represented by a virtual path.
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
Available since 2.0
Show: