AreaRegistration AreaRegistration AreaRegistration Class

Definition

Provides a way to register one or more areas in an ASP.NET MVC application.

public abstract class AreaRegistration
type AreaRegistration = class
Public MustInherit Class AreaRegistration
Inheritance
AreaRegistrationAreaRegistrationAreaRegistration

Constructors

AreaRegistration() AreaRegistration() AreaRegistration()

Initializes a new instance of the AreaRegistration class.

Properties

AreaName AreaName AreaName

Gets the name of the area to register.

Methods

RegisterAllAreas() RegisterAllAreas() RegisterAllAreas()

Registers all areas in an ASP.NET MVC application.

RegisterAllAreas(Object) RegisterAllAreas(Object) RegisterAllAreas(Object)

Registers all areas in an ASP.NET MVC application by using the specified user-defined information.

RegisterArea(AreaRegistrationContext) RegisterArea(AreaRegistrationContext) RegisterArea(AreaRegistrationContext)

Registers an area in an ASP.NET MVC application using the specified area's context information.

Applies to