Udostępnij za pośrednictwem


RouteValueDictionary.FromArray(KeyValuePair<String,Object>[]) Metoda

Definicja

Tworzy nowy RouteValueDictionary element z podanej tablicy. Nowe wystąpienie przejmie własność tablicy i może je zmutować.

public:
 static Microsoft::AspNetCore::Routing::RouteValueDictionary ^ FromArray(cli::array <System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>> ^ items);
public static Microsoft.AspNetCore.Routing.RouteValueDictionary FromArray (System.Collections.Generic.KeyValuePair<string,object>[] items);
static member FromArray : System.Collections.Generic.KeyValuePair<string, obj>[] -> Microsoft.AspNetCore.Routing.RouteValueDictionary
Public Shared Function FromArray (items As KeyValuePair(Of String, Object)()) As RouteValueDictionary

Parametry

items
KeyValuePair<String,Object>[]

Tablica elementów.

Zwraca

RouteValueDictionaryNowy element .

Dotyczy