Share via


HttpRouteDataExtensions.RemoveOptionalRoutingParameters Method (IHttpRouteData)

 

Removes all optional parameters that do not have a value from the route data.

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

Syntax

public static void RemoveOptionalRoutingParameters(
    this IHttpRouteData routeData
)
public:
[ExtensionAttribute]
static void RemoveOptionalRoutingParameters(
    IHttpRouteData^ routeData
)
static member RemoveOptionalRoutingParameters : 
        routeData:IHttpRouteData -> unit
<ExtensionAttribute>
Public Shared Sub RemoveOptionalRoutingParameters (
    routeData As IHttpRouteData
)

Parameters

See Also

HttpRouteDataExtensions Class
System.Web.Http.Routing Namespace

Return to top