PersistenceModeAttribute.Equals Method (Object)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Compares the PersistenceModeAttribute object against another object.

Namespace:   System.Web.UI
Assembly:  System.Web (in System.Web.dll)

public override bool Equals(
	object obj
)

Parameters

obj
Type: System.Object

The object to compare to.

Return Value

Type: System.Boolean

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

The Equals 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 PersistenceModeAttribute object and is not null, the Mode properties of each object are compared for equality and the result returned.

.NET Framework
Available since 1.1
Return to top
Show: