Click or drag to resize
Ranorex

DataRangeSetTryCreateFromIndices Method

Will create a new DataRangeSet from a list of given row indices. E.g. the indices '10,11,12,15,23,24' will result in the DataRangeSet '10-12,15,23-24'.

Namespace:  Ranorex.Core.Testing
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
public static DataRangeSet TryCreateFromIndices(
	int[] indices
)

Parameters

indices
Type: SystemInt32
The indices to create the DataRangeSet from.

Return Value

Type: DataRangeSet
A new DataRangeSet if indices represents a valid range set, null otherwise.
See Also