Compartir a través de


DataPointComparer.Compare(DataPoint, DataPoint) Método

Definición

Compara dos puntos de datos.

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

Parámetros

x
DataPoint

Primer punto de datos.

y
DataPoint

Segundo punto de datos.

Devoluciones

Int32

Valor integer. Devuelve cero (0) si los dos valores son iguales. Devuelve un entero positivo si el valor de x es mayor que el valor de y; de lo contrario, devuelve un entero negativo.

Implementaciones

Se aplica a