DictionaryModelBinder(Of TKey, TValue).CreateOrReplaceCollection Method (ModelBindingExecutionContext, ModelBindingContext, IList(Of KeyValuePair(Of TKey, TValue)))
.NET Framework (current version)
Converts the collection to a dictionary.
Assembly: System.Web (in System.Web.dll)
Protected Overrides Function CreateOrReplaceCollection ( modelBindingExecutionContext As ModelBindingExecutionContext, bindingContext As ModelBindingContext, newCollection As IList(Of KeyValuePair(Of TKey, TValue)) ) As Boolean
Parameters
- modelBindingExecutionContext
-
Type:
System.Web.ModelBinding.ModelBindingExecutionContext
The execution context.
- bindingContext
-
Type:
System.Web.ModelBinding.ModelBindingContext
The binding context.
- newCollection
-
Type:
System.Collections.Generic.IList(Of KeyValuePair(Of TKey, TValue))
The new collection.
.NET Framework
Available since 4.5
Available since 4.5
Show: