PointF.Equals メソッド
定義
オーバーロード
Equals(PointF) |
現在のオブジェクトが、同じ型の別のオブジェクトと等しいかどうかを示します。Indicates whether the current object is equal to another object of the same type. |
Equals(Object) |
この PointF が、指定した Object と同じ座標を含んでいるかどうかを示します。Specifies whether this PointF contains the same coordinates as the specified Object. |
Equals(PointF)
現在のオブジェクトが、同じ型の別のオブジェクトと等しいかどうかを示します。Indicates whether the current object is equal to another object of the same type.
public:
virtual bool Equals(System::Drawing::PointF other);
public bool Equals (System.Drawing.PointF other);
override this.Equals : System.Drawing.PointF -> bool
Public Function Equals (other As PointF) As Boolean
パラメーター
- other
- PointF
このオブジェクトと比較するオブジェクト。An object to compare with this object.
戻り値
現在のオブジェクトが other
に等しい場合は true
。それ以外の場合は false
。true
if the current object is equal to other
; otherwise, false
.
実装
適用対象
Equals(Object)
public:
override bool Equals(System::Object ^ obj);
public override bool Equals (object obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean
パラメーター
戻り値
obj
が PointF で、この Point と座標が同じである場合、このメソッドは true
を返します。This method returns true
if obj
is a PointF and has the same coordinates as this Point.