Share via


IVirtualPathFactory.CreateInstance Method

Creates a handler factory for the specified virtual path.

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

Syntax

'Declaration
Function CreateInstance ( _
    virtualPath As String _
) As Object
'Usage
Dim instance As IVirtualPathFactory 
Dim virtualPath As String 
Dim returnValue As Object 

returnValue = instance.CreateInstance(virtualPath)
Object CreateInstance(
    string virtualPath
)
Object^ CreateInstance(
    String^ virtualPath
)
abstract CreateInstance : 
        virtualPath:string -> Object
function CreateInstance(
    virtualPath : String
) : Object

Parameters

Return Value

Type: System.Object
A handler factory for the specified virtual path.

See Also

Reference

IVirtualPathFactory Interface

System.Web.WebPages Namespace