Share via


IHttpVirtualPathData.VirtualPath Property

Gets the URI that represents the virtual path of the current HTTP route.

Namespace:  System.Web.Http.Routing
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

'Declaration
Property VirtualPath As String
    Get
    Set
'Usage
Dim instance As IHttpVirtualPathData
Dim value As String

value = instance.VirtualPath

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

Property Value

Type: System.String
The URI that represents the virtual path of the current HTTP route.

See Also

Reference

IHttpVirtualPathData Interface

System.Web.Http.Routing Namespace