Click or drag to resize
Ranorex

DataRange Class

Specifies the minimum range and maximum range of the used DataContext instance.
Inheritance Hierarchy
SystemObject
  Ranorex.Core.TestingDataRange
    Ranorex.Core.TestingDataRangeSet

Namespace:  Ranorex.Core.Testing
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
public class DataRange

The DataRange type exposes the following members.

Constructors
  NameDescription
Protected methodDataRange
Initializes a new instance of the DataRange class
Public methodDataRange(Int32, Int32)
Initializes a new instance of the DataRange.class.
Top
Properties
  NameDescription
Public propertyStatic memberFullRange
Returns a DataRange instance that will select all available datarows.
Public propertyMaxRange
Gets or sets the maximum range.
Public propertyMinRange
Gets or sets the minimum range.
Top
Methods
  NameDescription
Public methodEquals(Object)
Compares the DataRange to another object instance.
(Overrides ObjectEquals(Object).)
Public methodEquals(DataRange)
Compares the DataRange to another DataRange.
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 methodGetHashCode
Returnes a hashcode for this object instance.
(Overrides ObjectGetHashCode.)
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 methodStatic memberParse
Parses a DataRange from a given string.
Public methodToString
Create a string representation of the DataRange.
(Overrides ObjectToString.)
Public methodStatic memberTryCreateFromIndices
Creates a DataRange from a set of indices. The method will check if the indices represent a contineous range and if so will return this range. E.g. '10,11,12' will return the range '10-12' but the indices '10,12' will return null.
Public methodStatic memberTryParse
Tries to parse a DataRange from a given string. This method never throws an exception.
Top
See Also