DictionaryModelBinder<TKey,TValue>.ConvertToCollectionType Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
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
Parámetros
- targetType
- Type
- collection
- IEnumerable<KeyValuePair<TKey,TValue>>