Partager via


HttpConfiguration.Routes Property

Gets the HttpRouteCollection associated with this HttpConfiguration instance.

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

Syntax

'Declaration
Public ReadOnly Property Routes As HttpRouteCollection
    Get
'Usage
Dim instance As HttpConfiguration
Dim value As HttpRouteCollection

value = instance.Routes
public HttpRouteCollection Routes { get; }
public:
property HttpRouteCollection^ Routes {
    HttpRouteCollection^ get ();
}
member Routes : HttpRouteCollection
function get Routes () : HttpRouteCollection

Property Value

Type: System.Web.Http.HttpRouteCollection
The HttpRouteCollection.

See Also

Reference

HttpConfiguration Class

System.Web.Http Namespace