DataGridViewAdvancedBorderStyle.Equals(Object) 方法

定义

确定指定的对象是否等于当前的 DataGridViewAdvancedBorderStyle

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

参数

other
Object

要比较的 Object

返回

Boolean

如果 other 是一个 DataGridViewAdvancedBorderStyle 并且 TopBottomLeftRight 属性的值与当前 DataGridViewAdvancedBorderStyle 中对应的属性值相等,则为 true;否则为 false

适用于