RouteValueDictionary コンストラクター

定義

オーバーロード

RouteValueDictionary()

空の RouteValueDictionary を作成します。

RouteValueDictionary(RouteValueDictionary)

指定した を RouteValueDictionary 使用して初期化された を作成します dictionary

RouteValueDictionary(IEnumerable<KeyValuePair<String,Object>>)

指定した を RouteValueDictionary 使用して初期化された を作成します values

RouteValueDictionary(IEnumerable<KeyValuePair<String,String>>)

指定した を RouteValueDictionary 使用して初期化された を作成します values

RouteValueDictionary(Object)

指定した を RouteValueDictionary 使用して初期化された を作成します values

RouteValueDictionary()

空の RouteValueDictionary を作成します。

public:
 RouteValueDictionary();
public RouteValueDictionary ();
Public Sub New ()

適用対象

RouteValueDictionary(RouteValueDictionary)

指定した を RouteValueDictionary 使用して初期化された を作成します dictionary

public RouteValueDictionary (Microsoft.AspNetCore.Routing.RouteValueDictionary? dictionary);
new Microsoft.AspNetCore.Routing.RouteValueDictionary : Microsoft.AspNetCore.Routing.RouteValueDictionary -> Microsoft.AspNetCore.Routing.RouteValueDictionary
Public Sub New (dictionary As RouteValueDictionary)

パラメーター

dictionary
RouteValueDictionary

RouteValueDictionaryディクショナリを初期化する 。

適用対象

RouteValueDictionary(IEnumerable<KeyValuePair<String,Object>>)

指定した を RouteValueDictionary 使用して初期化された を作成します values

public RouteValueDictionary (System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,object?>>? values);
new Microsoft.AspNetCore.Routing.RouteValueDictionary : seq<System.Collections.Generic.KeyValuePair<string, obj>> -> Microsoft.AspNetCore.Routing.RouteValueDictionary
Public Sub New (values As IEnumerable(Of KeyValuePair(Of String, Object)))

パラメーター

values
IEnumerable<KeyValuePair<String,Object>>

ディクショナリに追加する値のシーケンス。.

適用対象

RouteValueDictionary(IEnumerable<KeyValuePair<String,String>>)

指定した を RouteValueDictionary 使用して初期化された を作成します values

public RouteValueDictionary (System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,string?>>? values);
new Microsoft.AspNetCore.Routing.RouteValueDictionary : seq<System.Collections.Generic.KeyValuePair<string, string>> -> Microsoft.AspNetCore.Routing.RouteValueDictionary
Public Sub New (values As IEnumerable(Of KeyValuePair(Of String, String)))

パラメーター

values
IEnumerable<KeyValuePair<String,String>>

ディクショナリに追加する値のシーケンス。.

適用対象

RouteValueDictionary(Object)

指定した を RouteValueDictionary 使用して初期化された を作成します values

public:
 RouteValueDictionary(System::Object ^ values);
public RouteValueDictionary (object values);
public RouteValueDictionary (object? values);
new Microsoft.AspNetCore.Routing.RouteValueDictionary : obj -> Microsoft.AspNetCore.Routing.RouteValueDictionary
Public Sub New (values As Object)

パラメーター

values
Object

ディクショナリを初期化するオブジェクト。 値には、型 IDictionary<TKey,TValue> 、または IReadOnlyDictionary<TKey,TValue> キーと値のペアとして公開プロパティを持つオブジェクトを指定できます。

注釈

値が ディクショナリまたはその他 IEnumerable<T> の の KeyValuePair<TKey,TValue>場合、そのエントリがコピーされます。 それ以外の場合、オブジェクトはキーと値のペアのセットとして解釈され、プロパティ名はキーであり、プロパティ値は値であり、ディクショナリにコピーされます。 パブリック インスタンスのインデックス以外のプロパティのみが考慮されます。

適用対象