IHttpRouteConstraint::Match Method
Determines whether this instance equals a specified route.
Namespace: System.Web.Http.Routing
Assembly: System.Web.Http (in System.Web.Http.dll)
bool Match(
HttpRequestMessage^ request,
IHttpRoute^ route,
String^ parameterName,
IDictionary<String^, Object^>^ values,
HttpRouteDirection routeDirection
)
Parameters
- request
- Type: HttpRequestMessage
The request.
- route
- Type: System.Web.Http.Routing::IHttpRoute
The route to compare.
- parameterName
- Type: System::String
The name of the parameter.
- values
- Type: System.Collections.Generic::IDictionary<String, Object>
A list of parameter values.
- routeDirection
- Type: System.Web.Http.Routing::HttpRouteDirection
The route direction.
Show: