IndexSetNthSmallestIndex Method

Spotfire 14.3 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: 65.0.19510.3242 (65.0.19510.3242)
Syntax

C#
public int NthSmallestIndex(
	int indexOrdinalNumber
)

Parameters

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

Return Value

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

ExceptionCondition
ArgumentExceptionIf indexOrdinalNumber is <=0 or > Count.
Version Information

Supported in: 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also

Reference