Click or drag to resize
Ranorex

DataContext Methods

The DataContext type exposes the following members.

Methods
  NameDescription
Public methodClearData
Clears the data from the data Source associated with this context.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
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 methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
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.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also