DataGridViewAdvancedBorderStyle.Equals(Object) 方法

定義

判斷指定的物件是否等於目前的 DataGridViewAdvancedBorderStyleDetermines whether the specified object is equal to the current DataGridViewAdvancedBorderStyle.

public:
 override bool Equals(System::Object ^ other);
public override bool Equals (object other);
override this.Equals : obj -> bool
Public Overrides Function Equals (other As Object) As Boolean

參數

other
Object

要比較的 ObjectAn Object to be compared.

傳回

如果 otherDataGridViewAdvancedBorderStyle,且 TopBottomLeftRight 屬性的值等於目前 DataGridViewAdvancedBorderStyle 中的對等值則為 true,否則為 falsetrue if other is a DataGridViewAdvancedBorderStyle and the values for the Top, Bottom, Left, and Right properties are equal to their counterpart in the current DataGridViewAdvancedBorderStyle; otherwise, false.

適用於