ClientBuildManager.GetCompiledType Method (String)

 

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.

Exception Condition
ArgumentNullException

virtualPath is null.

.NET Framework
Available since 2.0
Return to top
Show: