RouteAttribute Класс

Определение

Указывает, что связанный компонент должен соответствовать указанному шаблону шаблона маршрута.

public ref class RouteAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=false)]
public sealed class RouteAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=false)>]
type RouteAttribute = class
    inherit Attribute
Public NotInheritable Class RouteAttribute
Inherits Attribute
Наследование
RouteAttribute
Атрибуты

Конструкторы

RouteAttribute(String)

Создает экземпляр RouteAttribute.

Свойства

Template

Получает шаблон маршрута.

Применяется к