RouteValueDictionary.FromArray(KeyValuePair<String,Object>[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new RouteValueDictionary from the provided array. The new instance will take ownership of the array, and may mutate it.
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
Parameters
- items
- KeyValuePair<String,Object>[]
The items array.
Returns
A new RouteValueDictionary.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for