| Visual Basic (Usage) | Copy Code |
|---|---|
Dim textToParse As String Dim value As NumericRange value = NumericRange.Parse(textToParse) | |
| C# | |
|---|---|
public static NumericRange Parse( string textToParse ) | |
Parameters
- textToParse
- The text to parse, prior to checking it is within the allowed range
| Exception | Description |
|---|---|
| ServiceResultException | Thrown when the numeric value of the parsed text is out of range |
Parses a string representing a numeric range.
Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x