RouteAttribute 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
指示关联的组件应与指定的路由模板模式匹配。
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 |
获取路由模板。 |
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈