Share via


PageVirtualPathAttribute Constructor

Initializes a new instance of the PageVirtualPathAttribute class by using the specified virtual path.

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

Syntax

'Declaration
Public Sub New ( _
    virtualPath As String _
)
'Usage
Dim virtualPath As String 

Dim instance As New PageVirtualPathAttribute(virtualPath)
public PageVirtualPathAttribute(
    string virtualPath
)
public:
PageVirtualPathAttribute(
    String^ virtualPath
)
new : 
        virtualPath:string -> PageVirtualPathAttribute
public function PageVirtualPathAttribute(
    virtualPath : String
)

Parameters

See Also

Reference

PageVirtualPathAttribute Class

System.Web.WebPages Namespace