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

Définition

Crée un nouveau RouteValueDictionary à partir du tableau fourni. La nouvelle instance prend la propriété du tableau et peut la 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

RouteValueDictionary

Nouveau RouteValueDictionary.

S’applique à