SupportsPreviewControlAttribute.Equals Method (Object)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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
)

Parameters

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
Show: