This documentation is archived and is not being maintained.
ClientBuildManager::GetCompilerParameters Method
Visual Studio 2010
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: 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. |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: