Table of Contents

Class HttpVirtualPathData

Namespace
System.Web.Http.Routing
Assembly
System.Web.Http.dll

Presents the data regarding the HTTP virtual path.

public class HttpVirtualPathData : IHttpVirtualPathData
Inheritance
HttpVirtualPathData
Implements
Inherited Members

Constructors

HttpVirtualPathData(IHttpRoute, string)

Initializes a new instance of the HttpVirtualPathData class.

public HttpVirtualPathData(IHttpRoute route, string virtualPath)

Parameters

route IHttpRoute

The route of the virtual path.

virtualPath string

The URL that was created from the route definition.

Properties

Route

Gets or sets the route of the virtual path..

public IHttpRoute Route { get; }

Property Value

IHttpRoute

The route of the virtual path.

VirtualPath

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

public string VirtualPath { get; set; }

Property Value

string

The URL that was created from the route definition.