Delen via


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
AreaRegistration

Constructors

AreaRegistration()

Initializes a new instance of the AreaRegistration class.

Properties

AreaName

Gets the name of the area to register.

Methods

RegisterAllAreas()

Registers all areas in an ASP.NET MVC application.

RegisterAllAreas(Object)

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

RegisterArea(AreaRegistrationContext)

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

Applies to