Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

OrderedDictionary<TKey,TValue>.GetAt(Int32) Method

Definition

Namespace:
System.Collections.Generic
Assembly:
System.Collections.dll
Source:
OrderedDictionary.cs
Source:
OrderedDictionary.cs
Source:
OrderedDictionary.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Gets the key/value pair at the specified index.

public:
 System::Collections::Generic::KeyValuePair<TKey, TValue> GetAt(int index);
public System.Collections.Generic.KeyValuePair<TKey,TValue> GetAt(int index);
member this.GetAt : int -> System.Collections.Generic.KeyValuePair<'Key, 'Value>
Public Function GetAt (index As Integer) As KeyValuePair(Of TKey, TValue)

Parameters

index
Int32

The zero-based index of the pair to get.

Returns

The element at the specified index.

Exceptions

index is less than 0 or greater than or equal to Count.

Applies to


Feedback

Was this page helpful?