DictionaryModelBinder<TKey,TValue>.ConvertToCollectionType 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.
System.Object.ConvertToCollectionType(System.Type,System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{`0,`1}})
protected:
override System::Object ^ ConvertToCollectionType(Type ^ targetType, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<TKey, TValue>> ^ collection);
protected override object ConvertToCollectionType (Type targetType, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<TKey,TValue>> collection);
protected override object? ConvertToCollectionType (Type targetType, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<TKey,TValue?>> collection);
override this.ConvertToCollectionType : Type * seq<System.Collections.Generic.KeyValuePair<'Key, 'Value>> -> obj
Protected Overrides Function ConvertToCollectionType (targetType As Type, collection As IEnumerable(Of KeyValuePair(Of TKey, TValue))) As Object
Parameters
- targetType
- Type
- collection
- IEnumerable<KeyValuePair<TKey,TValue>>