DictionaryModelBinder<TKey,TValue>.ConvertToCollectionType Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
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
Parametry
- targetType
- Type
- collection
- IEnumerable<KeyValuePair<TKey,TValue>>