System.Web.UI.AttributeCollection.Equals Method

Determines whether the current instance of the System.Web.UI.AttributeCollection object is equal to the specified object.

Syntax

public override bool Equals (object obj)

Parameters

obj
Documentation for this section has not yet been entered.

Returns

true if the object that is contained in the o parameter is equal to the current instance of System.Web.UI.AttributeCollection; otherwise, false.

Remarks

For the compared objects to be equal, they must meet the following criteria:

  • The object that is contained in the o parameter must be an System.Web.UI.AttributeCollection object.

  • Both collections must contain the same number of items.

  • The key value of each entry in both collections must match.

Requirements

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