Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
SortedDictionary Constructor (IDictionary)
SortedDictionary Class See Also

Oracle® Coherence .NET API Reference Release 3.6.1
E18812-01
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.6.1.0 (3.6.1.0)

# Syntax

C#
    public SortedDictionary(
    	IDictionary d
    )

#### Parameters

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

# Exceptions

Exception | Condition
--- | ---
System..::.ArgumentNullException | d is null.
System..::.InvalidCastException | One or more elements in d do not implement the IComparable interface.

# See Also

SortedDictionary Class
SortedDictionary Overload
Tangosol.Util.Collections Namespace