 | 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
Syntaxpublic static DataRangeSet TryCreateFromIndices(
int[] indices
)
Public Shared Function TryCreateFromIndices (
indices As Integer()
) As DataRangeSet
Parameters
- indices
- Type: SystemInt32
The indices to create the DataRangeSet from.
Return Value
Type:
DataRangeSetA new
DataRangeSet if
indices represents a valid range set, null otherwise.
See Also