Partilhar via


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

Definição

Cria um novo RouteValueDictionary da matriz fornecida. A nova instância assumirá a propriedade da matriz e poderá ser alterada.

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>[]

A matriz de itens.

Retornos

Um novo RouteValueDictionary.

Aplica-se a