共用方式為


RouteValuesAddressMetadata 建構函式

定義

多載

RouteValuesAddressMetadata(IReadOnlyDictionary<String,Object>)

使用提供的必要路由值,建立 的新實例 RouteValuesAddressMetadata

RouteValuesAddressMetadata(String)

使用提供的路由名稱,建立 的新實例 RouteValuesAddressMetadata

RouteValuesAddressMetadata(String, IReadOnlyDictionary<String,Object>)

使用提供的路由名稱和必要的路由值,建立 的新實例 RouteValuesAddressMetadata

RouteValuesAddressMetadata(IReadOnlyDictionary<String,Object>)

來源:
RouteValuesAddressMetadata.cs

使用提供的必要路由值,建立 的新實例 RouteValuesAddressMetadata

public:
 RouteValuesAddressMetadata(System::Collections::Generic::IReadOnlyDictionary<System::String ^, System::Object ^> ^ requiredValues);
public RouteValuesAddressMetadata (System.Collections.Generic.IReadOnlyDictionary<string,object> requiredValues);
new Microsoft.AspNetCore.Routing.RouteValuesAddressMetadata : System.Collections.Generic.IReadOnlyDictionary<string, obj> -> Microsoft.AspNetCore.Routing.RouteValuesAddressMetadata
Public Sub New (requiredValues As IReadOnlyDictionary(Of String, Object))

參數

requiredValues
IReadOnlyDictionary<String,Object>

必要的路由值。

適用於

RouteValuesAddressMetadata(String)

來源:
RouteValuesAddressMetadata.cs

使用提供的路由名稱,建立 的新實例 RouteValuesAddressMetadata

public:
 RouteValuesAddressMetadata(System::String ^ routeName);
public RouteValuesAddressMetadata (string routeName);
new Microsoft.AspNetCore.Routing.RouteValuesAddressMetadata : string -> Microsoft.AspNetCore.Routing.RouteValuesAddressMetadata
Public Sub New (routeName As String)

參數

routeName
String

路由名稱。 可以是 null。

適用於

RouteValuesAddressMetadata(String, IReadOnlyDictionary<String,Object>)

來源:
RouteValuesAddressMetadata.cs

使用提供的路由名稱和必要的路由值,建立 的新實例 RouteValuesAddressMetadata

public:
 RouteValuesAddressMetadata(System::String ^ routeName, System::Collections::Generic::IReadOnlyDictionary<System::String ^, System::Object ^> ^ requiredValues);
public RouteValuesAddressMetadata (string routeName, System.Collections.Generic.IReadOnlyDictionary<string,object> requiredValues);
new Microsoft.AspNetCore.Routing.RouteValuesAddressMetadata : string * System.Collections.Generic.IReadOnlyDictionary<string, obj> -> Microsoft.AspNetCore.Routing.RouteValuesAddressMetadata
Public Sub New (routeName As String, requiredValues As IReadOnlyDictionary(Of String, Object))

參數

routeName
String

路由名稱。 可以是 null。

requiredValues
IReadOnlyDictionary<String,Object>

必要的路由值。

適用於