DictionaryModelBinder<TKey,TValue>.ConvertToCollectionType Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
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
Параметры
- targetType
- Type
- collection
- IEnumerable<KeyValuePair<TKey,TValue>>
Возвращаемое значение
Применяется к
Обратная связь
https://aka.ms/ContentUserFeedback.
Ожидается в ближайшее время: в течение 2024 года мы постепенно откажемся от GitHub Issues как механизма обратной связи для контента и заменим его новой системой обратной связи. Дополнительные сведения см. в разделеОтправить и просмотреть отзыв по