System.Web.UI.WebControls.FontUnit.Equals Method

Determines whether the specified object is equivalent to the instance of the System.Web.UI.WebControls.FontUnit class that this method is called from.

Syntax

public override bool Equals (object obj)

Parameters

obj
A object that contains the object to compare to this instance.

Returns

true if the specified object is equivalent to the instance of the System.Web.UI.WebControls.FontUnit class that this method is called from; otherwise, false.

Remarks

Use the FontUnit.Equals(object) method to determine whether the specified object is equivalent to the instance of the System.Web.UI.WebControls.FontUnit class that this method is called from. For the specified object to be equivalent, the object must be a System.Web.UI.WebControls.FontUnit that contains the same values for the FontUnit.Type and FontUnit.Unit properties as the instance of the System.Web.UI.WebControls.FontUnit class that this method is called from.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0