Oracle® Coherence .NET API Reference Release 3.7.1
E22844-03

Initializes a new instance of the SortedDictionary class that contains elements copied from the specified dictionary, has the same initial capacity as the number of elements copied, and is sorted according to the IComparable interface implemented by each key.

Namespace:  Tangosol.Util.Collections
Assembly:  Coherence (in Coherence.dll) Version: 3.7.1.23 (3.7.1.23)

Syntax

C#
public SortedDictionary(
	IDictionary d
)

Parameters

d
Type: System.Collections..::.IDictionary
The IDictionary implementation to copy to a new SortedDictionary object.

Exceptions

ExceptionCondition
System..::.ArgumentNullException d is null.
System..::.InvalidCastException One or more elements in d do not implement the IComparable interface.

See Also