'Usage Dim instance As ValueRangeTextBox Dim value As Object instance.ValidateValue(value)
Parameters
- value
- The value to validate.
'Usage Dim instance As ValueRangeTextBox Dim value As Object instance.ValidateValue(value)
Exception | Description |
---|---|
System.InvalidOperationException | An attempt was made to set a value when the ValueDataType property is null. |
System.ArgumentException | The value if not of the type defined by the ValueDataType property. |
System.ArgumentOutOfRangeException | The specified value must be greater than or equal to MinValue and less than or equal to MaxValue. |
Target Platforms: Windows 11, Windows, 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2