SortedList<TKey,TValue>.GetKeyAtIndex(Int32) Method
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 corresponding to the specified index.
public:
TKey GetKeyAtIndex(int index);
public TKey GetKeyAtIndex(int index);
member this.GetKeyAtIndex : int -> 'Key
Public Function GetKeyAtIndex (index As Integer) As TKey
- index
- Int32
The zero-based index of the key within the entire SortedList<TKey,TValue>.
The key corresponding to the specified index.
The specified index is out of range.
Product | Versions |
---|---|
.NET | 7, 8, 9, 10 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: