 | DataRangeSetParse Method |
Parse a
DataRangeSet from a given string. Valid strings are e.g. '10,20', '10-20,30-40' or '10,20,30,40-50,60-90,2'.
Namespace:
Ranorex.Core.Testing
Assembly:
Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntaxpublic static DataRangeSet Parse(
string s
)
Public Shared Function Parse (
s As String
) As DataRangeSet
Parameters
- s
- Type: SystemString
The string to parse the DataRangeSet from.
Return Value
Type:
DataRangeSetA new
DataRangeSet instance that contains the ranges parsed from
s.
Exceptions| Exception | Condition |
|---|
| ArgumentNullException | If s is null. |
| ArgumentException | If s is empty or not a valid DataRangeSet string. |
See Also