Edit

Share via


DataGridViewCellStyle.Equals(Object) Method

Definition

Returns a value indicating whether this instance is equivalent to the specified object.

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

Parameters

o
Object

An object to compare with this instance, or null.

Returns

true if o is a DataGridViewCellStyle and has the same property values as this instance; otherwise, false.

Applies to

See also