Share via


HttpVirtualPathData.VirtualPath Property

Gets or sets the URL that was created from the route definition.

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

Syntax

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

value = instance.VirtualPath

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

Property Value

Type: System.String
The URL that was created from the route definition.

Implements

IHttpVirtualPathData.VirtualPath

See Also

Reference

HttpVirtualPathData Class

System.Web.Http.Routing Namespace