DataGridViewAdvancedBorderStyle.Equals(Object) Method

Definition

Determines whether the specified object is equal to the current 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

Parameters

other
Object

An Object to be compared.

Returns

true 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.

Applies to