Gets the value at the specified index of the SortedListEx.

Namespace: Spire.Doc.Collections
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 9.6.1.0 (9.6.1.3020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public virtual TValue GetByIndex(
	int index
)
Public Overridable Function GetByIndex ( 
	index As Integer
) As TValue
public:
virtual TValue GetByIndex(
	int index
)
abstract GetByIndex : 
        index : int -> 'TValue 
override GetByIndex : 
        index : int -> 'TValue 

Parameters

index
Int32
The zero-based index of the value to get.

Return Value

TValue
The value at the specified index of the SortedListEx.

Exceptions

ExceptionCondition
System..::..ArgumentOutOfRangeException When index is less than zero or greater than size of the list.

See Also