Click or drag to resize
RegisterPageRouteAttribute Class
Registers a page route definition to be used within the router feature.
Inheritance Hierarchy
SystemObject
  SystemAttribute
    Kentico.Content.Web.Mvc.RoutingRegisterPageRouteAttribute

Namespace: Kentico.Content.Web.Mvc.Routing
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntax
C#
public sealed class RegisterPageRouteAttribute : Attribute, 
	IPreInitAttribute

The RegisterPageRouteAttribute type exposes the following members.

Constructors
  NameDescription
Public methodRegisterPageRouteAttribute
Creates an instance of the RegisterPageRouteAttribute class.
Top
Properties
  NameDescription
Public propertyActionName
The name of the action method that handles the request.
Public propertyClassName
Class name of a page type handled by the controller.
Public propertyMarkedType
Type of the registered controller.
Public propertyPath
The node alias path specifying the location of a page in the content tree.
Top
Methods
  NameDescription
Public methodPreInit
Registers the page route during application pre-initialization.
Top
See Also