Namespace: Spire.Doc.Collections
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 9.6.1.0 (9.6.1.3020)
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 9.6.1.0 (9.6.1.3020)
Syntax
| C# | Visual Basic | Visual C++ | F# |
public class SortedDictionary<TKey, TValue> : TypedSortedListEx<TKey, TValue> where TKey : IComparable
Public Class SortedDictionary(Of TKey As IComparable, TValue) Inherits TypedSortedListEx(Of TKey, TValue)
generic<typename TKey, typename TValue> where TKey : IComparable public ref class SortedDictionary : public TypedSortedListEx<TKey, TValue>
type SortedDictionary<'TKey, 'TValue when 'TKey : IComparable> = class inherit TypedSortedListEx<'TKey, 'TValue> end
Type Parameters
- TKey
- TValue
Members
| All Members | Constructors | Properties | Methods |
| Member | Description | |
|---|---|---|
| SortedDictionary<(Of <(<'TKey, TValue>)>)>()()()() | Initializes a new instance of the SortedDictionary<(Of <(<'TKey, TValue>)>)> class | |
| Add(KeyValuePair<(Of <<'(TKey, TValue>)>>)) | (Inherited from TypedSortedListEx<(Of <(<'TKey, TValue>)>)>.) | |
| Add(Object, Object) | (Inherited from TypedSortedListEx<(Of <(<'TKey, TValue>)>)>.) | |
| Add(TKey, TValue) |
Adds an element with the provided key and value to the list.
(Inherited from TypedSortedListEx<(Of <(<'TKey, TValue>)>)>.) | |
| Capacity |
Capacity of internal buffers.
(Inherited from TypedSortedListEx<(Of <(<'TKey, TValue>)>)>.) | |
| Clear()()()() |
Removes all elements from the collection.
(Inherited from TypedSortedListEx<(Of <(<'TKey, TValue>)>)>.) | |
| Clone()()()() |
Creates a new object that is a copy of the current instance.
(Inherited from TypedSortedListEx<(Of <(<'TKey, TValue>)>)>.) | |
| CloneAll()()()() |
Clone current instance.
(Inherited from TypedSortedListEx<(Of <(<'TKey, TValue>)>)>.) | |
| Contains(KeyValuePair<(Of <<'(TKey, TValue>)>>)) | (Inherited from TypedSortedListEx<(Of <(<'TKey, TValue>)>)>.) | |
| Contains(Object) | (Inherited from TypedSortedListEx<(Of <(<'TKey, TValue>)>)>.) | |
| Contains(TKey) |
Determines whether the list contains an element with the specified key.
(Inherited from TypedSortedListEx<(Of <(<'TKey, TValue>)>)>.) | |
| ContainsKey(TKey) |
Determines whether the list contains an element with the specified key.
(Inherited from TypedSortedListEx<(Of <(<'TKey, TValue>)>)>.) | |
| ContainsValue(TValue) |
Determines whether the list contains the specified value.
(Inherited from TypedSortedListEx<(Of <(<'TKey, TValue>)>)>.) | |
| CopyTo(Array, Int32) |
Copies all the elements of the SortedListEx to the specified one-dimensional Array
starting at the specified destination Array index.
(Inherited from TypedSortedListEx<(Of <(<'TKey, TValue>)>)>.) | |
| CopyTo(array<KeyValuePair<(Of <<'(TKey, TValue>)>>)>[]()[][], Int32) | (Inherited from TypedSortedListEx<(Of <(<'TKey, TValue>)>)>.) | |
| Count |
FontSize of the collection. Read-only.
(Inherited from TypedSortedListEx<(Of <(<'TKey, TValue>)>)>.) | |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetByIndex(Int32) |
Gets the value at the specified index of the SortedListEx.
(Inherited from TypedSortedListEx<(Of <(<'TKey, TValue>)>)>.) | |
| GetEnumerator()()()() | (Inherited from TypedSortedListEx<(Of <(<'TKey, TValue>)>)>.) | |
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetKey(Int32) |
Gets the key at the specified index of the SortedListEx.
(Inherited from TypedSortedListEx<(Of <(<'TKey, TValue>)>)>.) | |
| GetKeyList()()()() |
Gets the keys in the SortedListEx.
(Inherited from TypedSortedListEx<(Of <(<'TKey, TValue>)>)>.) | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| GetValueList()()()() |
Gets the values in the SortedListEx.
(Inherited from TypedSortedListEx<(Of <(<'TKey, TValue>)>)>.) | |
| IndexOfKey(TKey) |
Returns the zero-based index of the specified key.
(Inherited from TypedSortedListEx<(Of <(<'TKey, TValue>)>)>.) | |
| IndexOfValue(TValue) |
Returns the zero-based index of the first occurrence of the specified value.
(Inherited from TypedSortedListEx<(Of <(<'TKey, TValue>)>)>.) | |
| IsFixedSize |
Returns True if collection has fixed size, False otherwise.
(Inherited from TypedSortedListEx<(Of <(<'TKey, TValue>)>)>.) | |
| IsReadOnly |
Returns True if list is readonly, False otherwise. Read-only.
(Inherited from TypedSortedListEx<(Of <(<'TKey, TValue>)>)>.) | |
| IsSynchronized |
Returns True if the collection is synchronized, False otherwise.
(Inherited from TypedSortedListEx<(Of <(<'TKey, TValue>)>)>.) | |
| Item[([( Object])]) | (Inherited from TypedSortedListEx<(Of <(<'TKey, TValue>)>)>.) | |
| Item[([( TKey])]) |
Gets or sets the value associated with the specified key.
(Inherited from TypedSortedListEx<(Of <(<'TKey, TValue>)>)>.) | |
| Keys |
List of keys. Read-only.
(Inherited from TypedSortedListEx<(Of <(<'TKey, TValue>)>)>.) | |
| MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Remove(KeyValuePair<(Of <<'(TKey, TValue>)>>)) | (Inherited from TypedSortedListEx<(Of <(<'TKey, TValue>)>)>.) | |
| Remove(Object) | (Inherited from TypedSortedListEx<(Of <(<'TKey, TValue>)>)>.) | |
| Remove(TKey) | (Inherited from TypedSortedListEx<(Of <(<'TKey, TValue>)>)>.) | |
| RemoveAt(Int32) |
Removes the element at the specified index.
(Inherited from TypedSortedListEx<(Of <(<'TKey, TValue>)>)>.) | |
| SetByIndex(Int32, TValue) |
Replaces the value at the specific index.
(Inherited from TypedSortedListEx<(Of <(<'TKey, TValue>)>)>.) | |
| SyncRoot |
Returns the object that can be used to synchronize access to the collection.
Read-only.
(Inherited from TypedSortedListEx<(Of <(<'TKey, TValue>)>)>.) | |
| ToString()()()() | (Inherited from Object.) | |
| TrimToSize()()()() |
Sets the capacity to the actual number of elements.
(Inherited from TypedSortedListEx<(Of <(<'TKey, TValue>)>)>.) | |
| TryGetValue(TKey, TValue%) | (Inherited from TypedSortedListEx<(Of <(<'TKey, TValue>)>)>.) | |
| Values |
List of values. Read-only.
(Inherited from TypedSortedListEx<(Of <(<'TKey, TValue>)>)>.) |
Inheritance Hierarchy
System..::..Object
Spire.Doc.Collections..::..TypedSortedListEx<(Of <(<'TKey, TValue>)>)>
Spire.Doc.Collections..::..SortedDictionary<(Of <(<'TKey, TValue>)>)>
Spire.Doc.Collections..::..TypedSortedListEx<(Of <(<'TKey, TValue>)>)>
Spire.Doc.Collections..::..SortedDictionary<(Of <(<'TKey, TValue>)>)>