Partager via


RouteValueDictionary.FromArray(KeyValuePair<String,Object>[]) Méthode

Définition

Crée un nouveau RouteValueDictionary à partir du tableau fourni. Le nouveau instance prend possession du tableau et peut le muter.

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

Paramètres

items
KeyValuePair<String,Object>[]

Tableau d’éléments.

Retours

Nouveau RouteValueDictionary.

S’applique à