IndexSet NthSmallestIndex Method TIBCO Spotfire 6.0 API Reference
Gets the Nth smallest index. Caution: This method is slow (linear time), so you must ensure that your algorithm (or the one using your algorithm) never calls this method many times, which could result in quadratic time.

Namespace: Spotfire.Dxp.Data
Assembly: Spotfire.Dxp.Data (in Spotfire.Dxp.Data.dll) Version: 13.19.7018.3940 (13.19.7018.3940)
Syntax

public int NthSmallestIndex(
	int indexOrdinalNumber
)

Parameters

indexOrdinalNumber
Type: System Int32
Index ordinal number. The valid range is 1 to Count.

Return Value

Type: Int32
The index with the specified ordinal number.
Exceptions

ExceptionCondition
System ArgumentExceptionIf indexOrdinalNumber is <=0 or > Count.
See Also