Share via


PageVirtualPathAttribute.VirtualPath Property

Gets the virtual path of the current web page.

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

Syntax

'Declaration
Public Property VirtualPath As String 
    Get 
    Private Set
'Usage
Dim instance As PageVirtualPathAttribute 
Dim value As String 

value = instance.VirtualPath
public string VirtualPath { get; private set; }
public:
property String^ VirtualPath {
    String^ get ();
    private: void set (String^ value);
}
member VirtualPath : string with get, private set
function get VirtualPath () : String 
private function set VirtualPath (value : String)

Property Value

Type: System.String
The virtual path.

See Also

Reference

PageVirtualPathAttribute Class

System.Web.WebPages Namespace