DataTableGetDistinctRows Method

Spotfire 14.3 API Reference
Gets the distinct rows for the specified cursors. Note that this method is not supported for external data tables.

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 IEnumerable<DataRow> GetDistinctRows(
	IndexSet rowIndexes,
	params DataValueCursor[] valueCursors
)

Parameters

rowIndexes
Type: Spotfire.Dxp.DataIndexSet
The row indexes to enumerate. May be null for all rows.
valueCursors
Type: Spotfire.Dxp.DataDataValueCursor
Specifies which columns to include in the enumeration. These are used to access the individual data values for each row. You need to specify at least one value cursor.

Return Value

Type: IEnumerableDataRow
An enumerator of the distinct rows in the subset. The order of the returned rows is not specified.
Remarks

Note that the Index property on the DataRow will not return any valid values for this method.
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