Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ GetKey()

virtual object System.Collections.SortedList.GetKey ( int index)
inlinevirtual

Reimplemented in System.Collections.SortedList.SyncSortedList.

Definition at line 824 of file SortedList.cs.

825 {
826 if (index < 0 || index >= Count)
827 {
828 throw new ArgumentOutOfRangeException("index", System.SR.ArgumentOutOfRange_Index);
829 }
830 return keys[index];
831 }
static string ArgumentOutOfRange_Index
Definition SR.cs:30
Definition SR.cs:7

References System.SR.ArgumentOutOfRange_Index, System.Collections.SortedList.Count, System.index, and System.Collections.SortedList.keys.

Referenced by System.Collections.SortedList.Add(), and System.Collections.SortedList.SyncSortedList.GetKey().