BuildManager.CreateInstanceFromVirtualPath Method
.NET Framework 3.0
Processes a file, given its virtual path, and creates an instance of the result.
Namespace: System.Web.Compilation
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
public: static Object^ CreateInstanceFromVirtualPath ( String^ virtualPath, Type^ requiredBaseType )
public static Object CreateInstanceFromVirtualPath ( String virtualPath, Type requiredBaseType )
public static function CreateInstanceFromVirtualPath ( virtualPath : String, requiredBaseType : Type ) : Object
Not applicable.
Parameters
- virtualPath
The virtual path of the file to create an instance of.
- requiredBaseType
The base type that defines the object to be created.
Return Value
The Object that represents the instance of the processed file.Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.Community Additions
ADD
Show: