Share via


RouteAttribute Class

Definition

Indicates that the associated component should match the specified route template pattern.

[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=false)]
public sealed class RouteAttribute : Attribute
Inheritance
RouteAttribute
Attributes

Constructors

RouteAttribute(String)

Constructs an instance of RouteAttribute.

Properties

Template

Gets the route template.

Applies to