CompareMethod Enumeration
TOC
Collapse the table of content
Expand the table of content

CompareMethod Enumeration

.NET Framework (current version)
 

Specifies the type of comparison to be used when filtering data. This enumeration is used by the Filter method definitions in the DataManipulator class that take the CompareMethod argument.

Namespace:   System.Windows.Forms.DataVisualization.Charting
Assembly:  System.Windows.Forms.DataVisualization (in System.Windows.Forms.DataVisualization.dll)

public enum CompareMethod

Member nameDescription
EqualTo

If the data point value is equal to the compared value, the point is filtered.

LessThan

If the data point value is less than the compared value, the point is filtered.

LessThanOrEqualTo

If the data point value is less than or equal to the compared value, the point is filtered.

MoreThan

If the data point value is more than the compared value, the point is filtered.

MoreThanOrEqualTo

If the data point value more than or equal to the compared value, the point is filtered.

NotEqualTo

If the data point value is not equal to the compared value, the point is filtered.

The CompareMethod enumeration represents a comparison type for certain filtering operations.

System_CAPS_noteNote

By default, if the filtering criteria are met, a data point is either removed or marked as empty. However, data points can be filtered even if they do not match the filtering criteria, by setting the FilterMatchedPoints property to false.

.NET Framework
Available since 4.0
Return to top
Show:
© 2016 Microsoft