RouteAttribute 构造函数

定义

重载

RouteAttribute()

初始化 RouteAttribute 类的新实例。

RouteAttribute(String)

使用指定的模板初始化 类的新实例 RouteAttribute

RouteAttribute()

初始化 RouteAttribute 类的新实例。

public RouteAttribute ();
Public Sub New ()

适用于

RouteAttribute(String)

使用指定的模板初始化 类的新实例 RouteAttribute

public RouteAttribute (string template);
new System.Web.Mvc.RouteAttribute : string -> System.Web.Mvc.RouteAttribute
Public Sub New (template As String)

参数

template
String

要匹配的路由的模式。

适用于