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 TypedSortedListEx<TKey, TValue> : IEnumerable<KeyValuePair<TKey, TValue>>, IEnumerable, IDictionary<TKey, TValue>, ICollection<KeyValuePair<TKey, TValue>>, IDictionary, ICollection where TKey : IComparable
Public Class TypedSortedListEx(Of TKey As IComparable, TValue) Implements IEnumerable(Of KeyValuePair(Of TKey, TValue)), IEnumerable, IDictionary(Of TKey, TValue), ICollection(Of KeyValuePair(Of TKey, TValue)), IDictionary, ICollection
generic<typename TKey, typename TValue> where TKey : IComparable public ref class TypedSortedListEx : IEnumerable<KeyValuePair<TKey, TValue>>, IEnumerable, IDictionary<TKey, TValue>, ICollection<KeyValuePair<TKey, TValue>>, IDictionary, ICollection
type TypedSortedListEx<'TKey, 'TValue when 'TKey : IComparable> = class interface IEnumerable<KeyValuePair<'TKey, 'TValue>> interface IEnumerable interface IDictionary<'TKey, 'TValue> interface ICollection<KeyValuePair<'TKey, 'TValue>> interface IDictionary interface ICollection end
Type Parameters
- TKey
- TValue
Members
| All Members | Constructors | Properties | Methods |
| Member | Description | |
|---|---|---|
| TypedSortedListEx<(Of <(<'TKey, TValue>)>)>()()()() |
Default constructor.
| |
| TypedSortedListEx<(Of <(<'TKey, TValue>)>)>(IComparer<(Of <<'(TKey>)>>)) |
Creates an empty SortedList with the default initial capacity
and specified comparer.
| |
| TypedSortedListEx<(Of <(<'TKey, TValue>)>)>(IDictionary<(Of <<'(TKey, TValue>)>>)) |
Copies the elements from the specified dictionary to a new list
with the same initial capacity as the number of elements copied.
| |
| TypedSortedListEx<(Of <(<'TKey, TValue>)>)>(Int32) |
Creates an empty list with the specified initial capacity.
| |
| TypedSortedListEx<(Of <(<'TKey, TValue>)>)>(IComparer<(Of <<'(TKey>)>>), Int32) |
Creates an empty SortedList with the specified initial capacity
and specified comparer.
| |
| TypedSortedListEx<(Of <(<'TKey, TValue>)>)>(IDictionary<(Of <<'(TKey, TValue>)>>), IComparer<(Of <<'(TKey>)>>)) |
Copies the elements from the specified dictionary to a new list with the same
initial capacity as the number of elements copied and with the specified comparer.
| |
| Add(KeyValuePair<(Of <<'(TKey, TValue>)>>)) | ||
| Add(Object, Object) | ||
| Add(TKey, TValue) |
Adds an element with the provided key and value to the list.
| |
| Capacity |
Capacity of internal buffers.
| |
| Clear()()()() |
Removes all elements from the collection.
| |
| Clone()()()() |
Creates a new object that is a copy of the current instance.
| |
| CloneAll()()()() |
Clone current instance.
| |
| Contains(KeyValuePair<(Of <<'(TKey, TValue>)>>)) | ||
| Contains(Object) | ||
| Contains(TKey) |
Determines whether the list contains an element with the specified key.
| |
| ContainsKey(TKey) |
Determines whether the list contains an element with the specified key.
| |
| ContainsValue(TValue) |
Determines whether the list contains the specified value.
| |
| CopyTo(Array, Int32) |
Copies all the elements of the SortedListEx to the specified one-dimensional Array
starting at the specified destination Array index.
| |
| CopyTo(array<KeyValuePair<(Of <<'(TKey, TValue>)>>)>[]()[][], Int32) | ||
| Count |
FontSize of the collection. Read-only.
| |
| 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.
| |
| GetEnumerator()()()() | ||
| 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.
| |
| GetKeyList()()()() |
Gets the keys in the SortedListEx.
| |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| GetValueList()()()() |
Gets the values in the SortedListEx.
| |
| IndexOfKey(TKey) |
Returns the zero-based index of the specified key.
| |
| IndexOfValue(TValue) |
Returns the zero-based index of the first occurrence of the specified value.
| |
| IsFixedSize |
Returns True if collection has fixed size, False otherwise.
| |
| IsReadOnly |
Returns True if list is readonly, False otherwise. Read-only.
| |
| IsSynchronized |
Returns True if the collection is synchronized, False otherwise.
| |
| Item[([( Object])]) | ||
| Item[([( TKey])]) |
Gets or sets the value associated with the specified key.
| |
| Keys |
List of keys. Read-only.
| |
| MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Remove(KeyValuePair<(Of <<'(TKey, TValue>)>>)) | ||
| Remove(Object) | ||
| Remove(TKey) | ||
| RemoveAt(Int32) |
Removes the element at the specified index.
| |
| SetByIndex(Int32, TValue) |
Replaces the value at the specific index.
| |
| Synchronized(TypedSortedListEx<(Of <<'(TKey, TValue>)>>)) |
Returns a synchronized (thread-safe) wrapper for the SortedList.
| |
| SyncRoot |
Returns the object that can be used to synchronize access to the collection.
Read-only.
| |
| ToString()()()() | (Inherited from Object.) | |
| TrimToSize()()()() |
Sets the capacity to the actual number of elements.
| |
| TryGetValue(TKey, TValue%) | ||
| Values |
List of values. Read-only.
|
Inheritance Hierarchy
System..::..Object
Spire.Doc.Collections..::..TypedSortedListEx<(Of <(<'TKey, TValue>)>)>
Spire.Doc.Collections..::..SortedDictionary<(Of <(<'TKey, TValue>)>)>
Spire.Doc.Collections..::..SortedItemList<(Of <(<'TKey, TValue>)>)>
Spire.Doc.Collections..::..TypedSortedListEx<(Of <(<'TKey, TValue>)>)>
Spire.Doc.Collections..::..SortedDictionary<(Of <(<'TKey, TValue>)>)>
Spire.Doc.Collections..::..SortedItemList<(Of <(<'TKey, TValue>)>)>