RanorexRanorex Documentation
IndexedDictionary<(Of <(TKey, TValue>)>) Class
NamespacesRanorex.CoreIndexedDictionary<(Of <(TKey, TValue>)>)
Represents a dictionary whose entries are ordered and can be accessed by their index. I.e. instances of this class represent both a list and a dictionary, combining the advantages of both data structures.
Declaration Syntax
C#Visual BasicVisual C++
[SerializableAttribute]
public class IndexedDictionary<TKey, TValue> : IDictionary<TKey, TValue>, 
	IList<KeyValuePair<TKey, TValue>>, ICollection<KeyValuePair<TKey, TValue>>, 
	IEnumerable<KeyValuePair<TKey, TValue>>, IEnumerable
<SerializableAttribute> _
Public Class IndexedDictionary(Of TKey, TValue) _
	Implements IDictionary(Of TKey, TValue), IList(Of KeyValuePair(Of TKey, TValue)),  _
	ICollection(Of KeyValuePair(Of TKey, TValue)), IEnumerable(Of KeyValuePair(Of TKey, TValue)),  _
	IEnumerable
[SerializableAttribute]
generic<typename TKey, typename TValue>
public ref class IndexedDictionary : IDictionary<TKey, TValue>, 
	IList<KeyValuePair<TKey, TValue>>, ICollection<KeyValuePair<TKey, TValue>>, 
	IEnumerable<KeyValuePair<TKey, TValue>>, IEnumerable
Generic Template Parameters
TKey
The type of the keys in the indexed dictionary.
TValue
The type of the values in the indexed dictionary.
Members
All MembersConstructorsMethodsPropertiesFields



IconMemberDescription
IndexedDictionary<(Of <(TKey, TValue>)>)()()()
Initializes a new instance of the IndexedDictionary<(Of <(TKey, TValue>)>) class.

IndexedDictionary<(Of <(TKey, TValue>)>)(IDictionary<(Of <(TKey, TValue>)>), IList<(Of <(TKey>)>))
Initializes a new instance of the IndexedDictionary<(Of <(TKey, TValue>)>) class.

Add(TKey, TValue)
Adds a key-value-pair to the indexed dictionary with the last index.

Add(KeyValuePair<(Of <(TKey, TValue>)>))
Adds a key-value-pair to the indexed dictionary.

Clear()()()
Removes all items from the indexed dictionary.

Contains(KeyValuePair<(Of <(TKey, TValue>)>))
Determines whether the indexed dictionary contains a specific value.

ContainsKey(TKey)
Determines whether the indexed dictionary contains an item with the specified key.

CopyTo(array<KeyValuePair<(Of <(TKey, TValue>)>)>[]()[], Int32)
Copies the items of the indexed dictionary to an Array, starting at a particular Array index.

Count
Gets the number of items contained in the indexed dictionary.

dictionary
The internally used dictionary.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
GetEnumerator()()()
Returns an enumerator that iterates through the indexed dictionary.

GetHashCode()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()
Gets the type of the current instance.
(Inherited from Object.)
indexList
The list used internally to hold the key-value-pairs.

IndexOf(KeyValuePair<(Of <(TKey, TValue>)>))
Determines the index of a specific key-value-pair in the indexed dictionary.

Insert(Int32, TKey, TValue)
Inserts the key-value-pair at the specified index.

Insert(Int32, KeyValuePair<(Of <(TKey, TValue>)>))
Inserts a key-value-pair to the indexed dictionary at the specified index.

IsReadOnly
Gets a value indicating whether the indexed dictionary is read-only.

Item[([(TKey])])
Gets or sets the item with the specified key.

Item[([(Int32])])
Gets or sets the key-value-pair at the specified index.

Keys
Gets an ICollection<(Of <(T>)>) containing the keys (in no specific order) of the indexed dictionary.

MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Remove(TKey)
Removes the item with the specified key from the indexed dictionary.

Remove(KeyValuePair<(Of <(TKey, TValue>)>))
Removes the specified key-value-pair from the indexed dictionary.

RemoveAt(Int32)
Removes the key-value-pair at the specified index.

ToString()()()
Returns a string that represents the current object.
(Inherited from Object.)
TryGetValue(TKey, TValue%)
Gets the value associated with the specified key.

Values
Gets an ICollection<(Of <(T>)>) containing the values (in no specific order) in the indexed dictionary.

Inheritance Hierarchy
Object
IndexedDictionary<(Of <(TKey, TValue>)>)

Assembly: Ranorex.Core (Module: Ranorex.Core) Version: 4.0.4.23593 (4.0.4.23593)