System.Web.UI.PersistenceModeAttribute.Equals Method

Compares the System.Web.UI.PersistenceModeAttribute object against another object.

Syntax

public override bool Equals (object obj)

Parameters

obj
The object to compare to.

Returns

true if the objects are considered equal; otherwise, false.

Remarks

The PersistenceModeAttribute.Equals(object) method first compares the current object with the given object and returns true if they are equal. Otherwise, if the given object is also a System.Web.UI.PersistenceModeAttribute object and is not null, the PersistenceModeAttribute.Mode properties of each object are compared for equality and the result returned.

Requirements

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