BuildManager::GetCompiledType Method (String^)
.NET Framework (current version)
Compiles a file, given its virtual path, and returns the compiled type.
Assembly: System.Web (in System.Web.dll)
Parameters
- virtualPath
-
Type:
System::String^
The virtual path to build into a type.
Return Value
Type: System::Type^A Type object that represents the type generated from compiling the virtual path.
| Exception | Condition |
|---|---|
| HttpException | An error occurred when compiling the virtual path. |
| ArgumentNullException | virtualPath is null. |
.NET Framework
Available since 2.0
Available since 2.0
Show: