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

取得路由範本。

適用於