Share via


DssSortedDictionary(TKey, TValue) Members

Microsoft Robotics Class Reference

The DssSortedDictionary< (Of < ( <'TKey, TValue> ) > ) > type exposes the following members.

Constructors

  Name Description
Public method DssSortedDictionary< (Of < ( <'TKey, TValue> ) > ) >() () () ()
Summary: Initializes a new instance of the System.Collections.Generic.DssSortedDictionary_TKey,TValue_ class that is empty and uses the default System.Collections.Generic.IComparer_T_ implementation for the key type.
Public method DssSortedDictionary< (Of < ( <'TKey, TValue> ) > ) >(IComparer< (Of < <' (TKey> ) > > ))
Summary: Initializes a new instance of the System.Collections.Generic.DssSortedDictionary_TKey,TValue_ class that is empty and uses the specified System.Collections.Generic.IComparer_T_ implementation to compare keys. Parameters: comparer: The System.Collections.Generic.IComparer_T_ implementation to use when comparing keys, or null to use the default System.Collections.Generic.Comparer_T_ for the type of the key.
Public method DssSortedDictionary< (Of < ( <'TKey, TValue> ) > ) >(IDictionary< (Of < <' (TKey, TValue> ) > > ))
Summary: Initializes a new instance of the System.Collections.Generic.DssSortedDictionary_TKey,TValue_ class that contains elements copied from the specified System.Collections.Generic.IDictionary_TKey,TValue_ and uses the default System.Collections.Generic.IComparer_T_ implementation for the key type. Parameters: dictionary: The System.Collections.Generic.IDictionary_TKey,TValue_ whose elements are copied to the new System.Collections.Generic.DssSortedDictionary_TKey,TValue_. Exceptions: System.ArgumentException: dictionary contains one or more duplicate keys. System.ArgumentNullException: dictionary is null.
Public method DssSortedDictionary< (Of < ( <'TKey, TValue> ) > ) >(Int32)
Summary: Initializes a new instance of the System.Collections.Generic.DssSortedDictionary_TKey,TValue_ class that is empty and uses the default System.Collections.Generic.IComparer_T_ implementation for the key type.
Public method DssSortedDictionary< (Of < ( <'TKey, TValue> ) > ) >(IDictionary< (Of < <' (TKey, TValue> ) > > ), IComparer< (Of < <' (TKey> ) > > ))
Summary: Initializes a new instance of the System.Collections.Generic.DssSortedDictionary_TKey,TValue_ class that contains elements copied from the specified System.Collections.Generic.IDictionary_TKey,TValue_ and uses the specified System.Collections.Generic.IComparer_T_ implementation to compare keys. Parameters: dictionary: The System.Collections.Generic.IDictionary_TKey,TValue_ whose elements are copied to the new System.Collections.Generic.DssSortedDictionary_TKey,TValue_. comparer: The System.Collections.Generic.IComparer_T_ implementation to use when comparing keys, or null to use the default System.Collections.Generic.Comparer_T_ for the type of the key. Exceptions: System.ArgumentException: dictionary contains one or more duplicate keys. System.ArgumentNullException: dictionary is null.

Methods

  Name Description
Public method Add
Adds an element with the specified key and value into the SortedDictionary< (Of < ( <'TKey, TValue> ) > ) >.
(Inherited from SortedDictionary< (Of < ( <'TKey, TValue> ) > ) >.)
Public method Clear
Removes all elements from the SortedDictionary< (Of < ( <'TKey, TValue> ) > ) >.
(Inherited from SortedDictionary< (Of < ( <'TKey, TValue> ) > ) >.)
Public method Clone
Clone the SortedDictionary
Public method ContainsKey
Determines whether the SortedDictionary< (Of < ( <'TKey, TValue> ) > ) > contains an element with the specified key.
(Inherited from SortedDictionary< (Of < ( <'TKey, TValue> ) > ) >.)
Public method ContainsValue
Determines whether the SortedDictionary< (Of < ( <'TKey, TValue> ) > ) > contains an element with the specified value.
(Inherited from SortedDictionary< (Of < ( <'TKey, TValue> ) > ) >.)
Public method CopyTo(IDssSerializable)
Copy To DssSortedDictionary(TKey, TValue)
Public method CopyTo(array

Properties

  Name Description
Public property Comparer (Inherited from SortedDictionary< (Of < ( <'TKey, TValue> ) > ) >.)
Public property Count
Gets the number of key/value pairs contained in the SortedDictionary< (Of < ( <'TKey, TValue> ) > ) >.
(Inherited from SortedDictionary< (Of < ( <'TKey, TValue> ) > ) >.)
Public property Item
Gets or sets the value associated with the specified key.
(Inherited from SortedDictionary< (Of < ( <'TKey, TValue> ) > ) >.)
Public property Keys
Gets a collection containing the keys in the SortedDictionary< (Of < ( <'TKey, TValue> ) > ) >.
(Inherited from SortedDictionary< (Of < ( <'TKey, TValue> ) > ) >.)
Public property Values
Gets a collection containing the values in the SortedDictionary< (Of < ( <'TKey, TValue> ) > ) >.
(Inherited from SortedDictionary< (Of < ( <'TKey, TValue> ) > ) >.)

See Also

DssSortedDictionary< (Of < ( <'TKey, TValue> ) > ) > Class

Microsoft.Dss.Core.Utilities Namespace