ערוך

שתף באמצעות


DataPointComparer.Compare(DataPoint, DataPoint) Method

Definition

Compares two data points.

public:
 virtual int Compare(System::Web::UI::DataVisualization::Charting::DataPoint ^ x, System::Web::UI::DataVisualization::Charting::DataPoint ^ y);
public int Compare (System.Web.UI.DataVisualization.Charting.DataPoint x, System.Web.UI.DataVisualization.Charting.DataPoint y);
abstract member Compare : System.Web.UI.DataVisualization.Charting.DataPoint * System.Web.UI.DataVisualization.Charting.DataPoint -> int
override this.Compare : System.Web.UI.DataVisualization.Charting.DataPoint * System.Web.UI.DataVisualization.Charting.DataPoint -> int
Public Function Compare (x As DataPoint, y As DataPoint) As Integer

Parameters

x
DataPoint

First data point.

y
DataPoint

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