PageRouteModel.RouteValues 属性

定义

获取必须存在于 中 Values 才能选择相应页的 的路由值的集合。

public:
 property System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ RouteValues { System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ get(); };
public System.Collections.Generic.IDictionary<string,string> RouteValues { get; }
member this.RouteValues : System.Collections.Generic.IDictionary<string, string>
Public ReadOnly Property RouteValues As IDictionary(Of String, String)

属性值

注解

的值被视为对应于键 pageViewEnginePath隐式路由值。

的值 AreaName 被视为与键 area 对应的隐式路由值(如果 AreaName 不是 null)。

创建操作描述符时,这些条目将隐式添加到 RouteValues ,但在 中 RouteValues不可见。

适用于