T
The type to use for the Value (MinValue, MaxValue, etc.).
ESRI.ArcGIS.ADF.Web
Generic ValueRange Class
Members  See Also 
ESRI.ArcGIS.ADF.Web.Display.Renderer Namespace : Generic ValueRange Class




A class that represents a range of values used in a ValueMapRenderer.

Object Model


Syntax

Visual Basic (Declaration) 
<SerializableAttribute()>
Public Class ValueRange(Of T As IComparable(Of T)) 
   Inherits Value(Of T)
   Implements IJsonSerializable 
Visual Basic (Usage)Copy Code
Dim instance As ValueRange(Of T)
C# 
[SerializableAttribute()]
public class ValueRange<T> : Value<T>, IJsonSerializable  where T: IComparable(Of T)

Type Parameters

T
The type to use for the Value (MinValue, MaxValue, etc.).

Remarks

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>();

Inheritance Hierarchy

System.Object
   ESRI.ArcGIS.ADF.Web.Display.Renderer.Value<T>
      ESRI.ArcGIS.ADF.Web.Display.Renderer.ValueRange

See Also

© 2010 All Rights Reserved.