Compartir a través de


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

Definición

Crea un nuevo RouteValueDictionary a partir de la matriz proporcionada. La nueva instancia tomará posesión de la matriz y puede mutarla.

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

Parámetros

items
KeyValuePair<String,Object>[]

Matriz de elementos.

Devoluciones

Un nuevo objeto RouteValueDictionary.

Se aplica a