Click or drag to resize
Ranorex

IDataContext Methods

The IDataContext type exposes the following members.

Methods
  NameDescription
Public methodClearData
Clears the data from the data Source associated with this context.
Public methodGet(IDataBindingInfo)
Gets the data value for the specified data binding info
Public methodGet(String)
Gets the data value for the specified variable name.
Public methodGetDataRangeInvalidString(Int32, Int32)
Checks if the data range is valid and returns an error message (using one-based indexing) if it is not.
Public methodGetDataRangeInvalidString(Int32, Int32, Boolean)
Checks if the data range is valid and returns an error message if it is not.
Public methodNext
Advances the context and its ancestors to the next data row.
Public methodNext(Boolean)
Advances the context to the next data row.
Public methodReloadData
Reloads the data from the data Source associated with this context and reloads data in ancestor contexts, too.
Public methodReloadData(Boolean)
Reloads the data from the data Source associated with this context and optionally reloads data in ancestor contexts, too.
Public methodRemoveParameter
Removes the parameter with the specified name from this context.
Public methodReset
Resets the data context, i.e. sets the context to its initial position which is before the first data row, and also its ancestors.
Public methodReset(Boolean)
Resets the data context, i.e. sets the context to its initial position which is before the first data row, and optionally also its ancestors.
Public methodSetFullRange
Instructs the data context to enumerate all rows in the data Source.
Public methodSetParameter
Sets a parameter value for this context.
Public methodSetRange(DataRange)
Sets the range of rows in the data Source that should be enumerated.
Public methodSetRange(Int32, Int32)
Sets the range of rows in the data Source that should be enumerated.
Top
See Also