SupportsPreviewControlAttribute.Equals Method (Object)

 

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 Overrides Function Equals (
	obj As Object
) As Boolean

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: