HttpRouteDataExtensions.GetSubRoutes Method (IHttpRouteData)
If a route is really a union of other routes, return the set of sub routes.
Namespace: System.Web.Http.Routing
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
public static IEnumerable<IHttpRouteData> GetSubRoutes(
this IHttpRouteData routeData
)
public:
[ExtensionAttribute]
static IEnumerable<IHttpRouteData^>^ GetSubRoutes(
IHttpRouteData^ routeData
)
static member GetSubRoutes :
routeData:IHttpRouteData -> IEnumerable<IHttpRouteData>
<ExtensionAttribute>
Public Shared Function GetSubRoutes (
routeData As IHttpRouteData
) As IEnumerable(Of IHttpRouteData)
Parameters
routeData
Type: System.Web.Http.Routing.IHttpRouteDataA union route data.
Return Value
Type: System.Collections.Generic.IEnumerable<IHttpRouteData>
Returns the set of sub routes contained within this route.
See Also
HttpRouteDataExtensions Class
System.Web.Http.Routing Namespace
Return to top