IRouteWithArea Interface

Associates a route with an area in an ASP.NET MVC application.

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

public interface IRouteWithArea

The IRouteWithArea type exposes the following members.

Public propertyAreaGets the name of the area to associate the route with.

If you register a custom RouteBase instance in the RouteCollection object, this interface lets you associate that RouteBase instance with an area.