This documentation is archived and is not being maintained.

KeyedCollection Constructor

Initializes a new instance of the KeyedCollection class.

Name Description
KeyedCollection () Initializes a new instance of the KeyedCollection class that uses the default equality comparer.

Supported by the .NET Compact Framework.

KeyedCollection (Generic IEqualityComparer) Initializes a new instance of the KeyedCollection class that uses the specified equality comparer.

Supported by the .NET Compact Framework.

KeyedCollection (Generic IEqualityComparer, Int32) Initializes a new instance of the KeyedCollection class that uses the specified equality comparer and creates a lookup dictionary when the specified threshold is exceeded.

Supported by the .NET Compact Framework.

Show: