RouteAttribute Class

Definition

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

public ref class RouteAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=false)]
public sealed class RouteAttribute : Attribute
type RouteAttribute = class
    inherit Attribute
Public NotInheritable Class RouteAttribute
Inherits Attribute
Inheritance
RouteAttribute
Attributes

Constructors

RouteAttribute(String)

Constructs an instance of RouteAttribute.

Properties

Template

Gets the route template.

Applies to