IndexSet NthSmallestIndex Method TIBCO Spotfire 7.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: 18.10.8513.5432 (18.10.8513.5432)
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.
Version Information

Supported in: 7.0, 6.5, 6.0, 5.5, 5.0
See Also