DataPointComparer DataPointComparer DataPointComparer DataPointComparer Class

定义

比较数据点。Compares data points.

public ref class DataPointComparer : System::Collections::Generic::IComparer<System::Windows::Forms::DataVisualization::Charting::DataPoint ^>
public class DataPointComparer : System.Collections.Generic.IComparer<System.Windows.Forms.DataVisualization.Charting.DataPoint>
type DataPointComparer = class
    interface IComparer<DataPoint>
Public Class DataPointComparer
Implements IComparer(Of DataPoint)
继承
DataPointComparerDataPointComparerDataPointComparerDataPointComparer
实现

构造函数

DataPointComparer(Series, PointSortOrder, String) DataPointComparer(Series, PointSortOrder, String) DataPointComparer(Series, PointSortOrder, String) DataPointComparer(Series, PointSortOrder, String)

使用指定的数据系列、排序顺序和排序值初始化 DataPointComparer 类的新实例。Initializes a new instance of the DataPointComparer class with the specified data series, sort order and sort value.

方法

Compare(DataPoint, DataPoint) Compare(DataPoint, DataPoint) Compare(DataPoint, DataPoint) Compare(DataPoint, DataPoint)

比较两个数据点。Compares two data points.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

获取当前实例的 TypeGets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(Inherited from Object)

适用于