SupportsPreviewControlAttribute.Equals Method (Object)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

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

public override bool Equals(
	object obj


Type: System.Object

The object to compare with the current instance of SupportsPreviewControlAttribute.

Return Value

Type: System.Boolean

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

The Equals method overrides the Object.Equals method.

The Equals method compares two instances based on the value of their SupportsPreviewControl properties.

.NET Framework
Available since 2.0
Return to top