DataGridViewCellStyle.Equals Method (Object)


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

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public override bool Equals(
	object o


Type: System.Object

An object to compare with this instance, or null.

Return Value

Type: System.Boolean

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

.NET Framework
Available since 2.0
Return to top