DataPointComparer.Compare(DataPoint, DataPoint) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Compares two data points.
public:
virtual int Compare(System::Windows::Forms::DataVisualization::Charting::DataPoint ^ x, System::Windows::Forms::DataVisualization::Charting::DataPoint ^ y);
public int Compare (System.Windows.Forms.DataVisualization.Charting.DataPoint x, System.Windows.Forms.DataVisualization.Charting.DataPoint y);
abstract member Compare : System.Windows.Forms.DataVisualization.Charting.DataPoint * System.Windows.Forms.DataVisualization.Charting.DataPoint -> int
override this.Compare : System.Windows.Forms.DataVisualization.Charting.DataPoint * System.Windows.Forms.DataVisualization.Charting.DataPoint -> int
Public Function Compare (x As DataPoint, y As DataPoint) As Integer
Parameters
First data point.
Second data point.
Returns
An integer
value. Returns zero (0) if the two values are equal. Returns a positive integer if the value of x
is greater than the value of y
; otherwise, returns a negative integer.
Implements
Applies to
Vertu í samstarfi við okkur á GitHub
Heimildina fyrir þetta efni er að finna á GitHub, þar sem þú getur líka búið til og farið yfir vandamál og sameinað beiðnir. Frekari upplýsingar er að finna í framlagshandbók okkar.