KeyedCollection<TKey, TItem> Constructor

Initializes a new instance of the KeyedCollection<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.

  Name Description
Protected method KeyedCollection<TKey, TItem>() Initializes a new instance of the KeyedCollection<TKey, TItem> class that uses the default equality comparer.
Protected method KeyedCollection<TKey, TItem>(IEqualityComparer<TKey>) Initializes a new instance of the KeyedCollection<TKey, TItem> class that uses the specified equality comparer.
Protected method KeyedCollection<TKey, TItem>(IEqualityComparer<TKey>, Int32) Initializes a new instance of the KeyedCollection<TKey, TItem> class that uses the specified equality comparer and creates a lookup dictionary when the specified threshold is exceeded.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft