Partager via


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)

Syntax

'Declaration
Public Interface IRouteWithArea
public interface IRouteWithArea
public interface class IRouteWithArea

The IRouteWithArea type exposes the following members.

Properties

  Name Description
Public property Area Gets the name of the area to associate the route with.

Top

Remarks

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

See Also

Reference

System.Web.Mvc Namespace