BuildManager.GetCompiledType(String) Methode

Definitie

Compileert een bestand op basis van het virtuele pad en retourneert het gecompileerde type.

public:
 static Type ^ GetCompiledType(System::String ^ virtualPath);
public static Type GetCompiledType(string virtualPath);
static member GetCompiledType : string -> Type
Public Shared Function GetCompiledType (virtualPath As String) As Type

Parameters

virtualPath
String

Het virtuele pad om in te bouwen in een type.

Retouren

Een Type object dat het type vertegenwoordigt dat is gegenereerd bij het compileren van het virtuele pad.

Uitzonderingen

Er is een fout opgetreden bij het compileren van het virtuele pad.

virtualPath is null.

Van toepassing op

Zie ook