KeyedCollection(TKey, TItem) Constructor

KeyedCollection(Of TKey, TItem) Constructor

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Initializes a new instance of the KeyedCollection(Of TKey, TItem) class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Protected method KeyedCollection(Of TKey, TItem) Initializes a new instance of the KeyedCollection(Of TKey, TItem) class that uses the default equality comparer.
Protected method KeyedCollection(Of TKey, TItem)(IEqualityComparer(Of TKey)) Initializes a new instance of the KeyedCollection(Of TKey, TItem) class that uses the specified equality comparer.
Protected method KeyedCollection(Of TKey, TItem)(IEqualityComparer(Of TKey), Int32) Initializes a new instance of the KeyedCollection(Of TKey, TItem) class that uses the specified equality comparer and creates a lookup dictionary when the specified threshold is exceeded.
Top

Show:
© 2017 Microsoft