Export (0) Print
Expand All

ClientBuildManager.GetCompiledType Method

Compiles the file represented by the virtual path and returns its compiled type.

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

public Type GetCompiledType(
	string virtualPath
)

Parameters

virtualPath
Type: System.String

The virtual path of the file to compile.

Return Value

Type: System.Type
The Type of the compiled file.

ExceptionCondition
ArgumentNullException

virtualPath is null.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft