This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > II > IIntervalRange2 Interface > IIntervalRange2.Default Property (ArcObjects .NET 10.4 SDK) |
The Default Range for the data.
[Visual Basic .NET] Public Function get_Default ( _ ByVal values As Object, _ ByVal frequencies As Object _ ) As Double
[C#] public double get_Default ( object values, object frequencies );
[C++]
HRESULT get_Default(
VARIANT values,
VARIANT frequencies,
double* range
);
[C++]
Parameters values values is a parameter of type VARIANT frequencies frequencies is a parameter of type VARIANT range [out, retval] range is a parameter of type double
For example, if the two arrays were called DataValues and DataFrequency, the lowest value would be stored in DataValue(0), and the number of times this value occurred would be stored in DataFrequency(0).
You could populate these arrays in code yourself, but if the data is available through the attribute field of a table, you can utilize the TableHistogram object to gather the data values and frequencies for you.
Use this property as an alternative to calling IClassify.SetHistogramData and then calling IIntervalRange.Default.