Partager via


ApiDescription.Route Property

Gets or sets the registered route for the API.

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

Syntax

'Declaration
Public Property Route As IHttpRoute 
    Get 
    Set
'Usage
Dim instance As ApiDescription 
Dim value As IHttpRoute 

value = instance.Route

instance.Route = value
public IHttpRoute Route { get; set; }
public:
property IHttpRoute^ Route {
    IHttpRoute^ get ();
    void set (IHttpRoute^ value);
}
member Route : IHttpRoute with get, set
function get Route () : IHttpRoute 
function set Route (value : IHttpRoute)

Property Value

Type: System.Web.Http.Routing.IHttpRoute
The route.

See Also

Reference

ApiDescription Class

System.Web.Http.Description Namespace