System.Web.UI.Design.SupportsPreviewControlAttribute.Equals Method

Determines whether the specified object represents the same preview attribute setting as the current instance of the System.Web.UI.Design.SupportsPreviewControlAttribute class.

Syntax

public override bool Equals (object obj)

Parameters

obj
The object to compare with the current instance of System.Web.UI.Design.SupportsPreviewControlAttribute.

Returns

true if obj is a System.Web.UI.Design.SupportsPreviewControlAttribute attribute and its value is the same as this instance of System.Web.UI.Design.SupportsPreviewControlAttribute; otherwise, false.

Remarks

The SupportsPreviewControlAttribute.Equals(object) method overrides the object.Equals(object) method.

The SupportsPreviewControlAttribute.Equals(object) method compares two instances based on the value of their SupportsPreviewControlAttribute.SupportsPreviewControl properties.

Requirements

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