System.Web.UI.ToolboxDataAttribute.Equals Method

Tests whether the System.Web.UI.ToolboxDataAttribute object is equal to the given object.

Syntax

public override bool Equals (object obj)

Parameters

obj
The object to compare to.

Returns

true, if the System.Web.UI.ToolboxDataAttribute object is equal to the given object; otherwise, false.

Remarks

The ToolboxDataAttribute.Equals(object) method first compares the objects for equality. If the comparison returns false, the ToolboxDataAttribute.Equals(object) method then compares the data of the System.Web.UI.ToolboxDataAttribute object to the data of the given object after first testing the given object to make sure that the given object is not null and is also typed as System.Web.UI.ToolboxDataAttribute object.

Requirements

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