- T
- The type to use for the Value (MinValue, MaxValue, etc.).
![]() ![]() |
ESRI.ArcGIS.ADF.Web | |
ValueRange<T> Class | |
Members See Also Send Feedback |
ESRI.ArcGIS.ADF.Web.Display.Renderer Namespace : ValueRange<T> Class |

Visual Basic (Declaration) | |
---|---|
<SerializableAttribute()> Public Class ValueRange(Of T As IComparable(Of T)) Inherits Value(Of T) Implements IJsonSerializable |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As ValueRange(Of T) |
C# | |
---|---|
[SerializableAttribute()] public class ValueRange<T> : Value<T>, IJsonSerializable where T: IComparable<T> |
- T
- The type to use for the Value (MinValue, MaxValue, etc.).
IJsonSerializable only supported for int32, int16, double, float and string values. Others will throw an exception.
For a discussion and example of the use of ValueRange in a ValueMapRenderer, see the overview for ValueMapRenderer.
The Type for the ValueRange is determined when it is declared. For example, the following declares a ValueRange where the values to be compared are of type Double:
[C#]
ValueRange<double> valueRange1 = new ValueRange<double>();
[VB]
Dim valueRange1 As ValueRange<Of Double> = New ValueRange<Of Double>();
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family