Export (0) Print
Expand All
0 out of 2 rated this helpful - Rate this topic

Dictionary Constructor

Initializes a new instance of the Dictionary class.
Name Description
Dictionary () Initializes a new instance of the Dictionary class that is empty, has the default initial capacity, and uses the default equality comparer for the key type.

Supported by the .NET Compact Framework.

Dictionary (Generic IDictionary) Initializes a new instance of the Dictionary class that contains elements copied from the specified IDictionary and uses the default equality comparer for the key type.

Supported by the .NET Compact Framework.

Dictionary (Generic IEqualityComparer) Initializes a new instance of the Dictionary class that is empty, has the default initial capacity, and uses the specified IEqualityComparer.

Supported by the .NET Compact Framework.

Dictionary (Int32) Initializes a new instance of the Dictionary class that is empty, has the specified initial capacity, and uses the default equality comparer for the key type.

Supported by the .NET Compact Framework.

Dictionary (Generic IDictionary, Generic IEqualityComparer) Initializes a new instance of the Dictionary class that contains elements copied from the specified IDictionary and uses the specified IEqualityComparer.

Supported by the .NET Compact Framework.

Dictionary (Int32, Generic IEqualityComparer) Initializes a new instance of the Dictionary class that is empty, has the specified initial capacity, and uses the specified IEqualityComparer.

Supported by the .NET Compact Framework.

Dictionary (SerializationInfo, StreamingContext) Initializes a new instance of the Dictionary class with serialized data.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.