Click or drag to resize
Ranorex

IDataContextGetDataRangeInvalidString Method (Int32, Int32)

Checks if the data range is valid and returns an error message (using one-based indexing) if it is not.

Namespace:  Ranorex.Core.Data
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
string GetDataRangeInvalidString(
	int min,
	int max
)

Parameters

min
Type: SystemInt32
The minimum row index.
max
Type: SystemInt32
The maximum row index.

Return Value

Type: String
An error message if the data range is not valid; otherwise, null.
Remarks
One-based indexing is used for the error message (not for the min or max values).
See Also