SupportsPreviewControlAttribute.Equals(Object) Method

Definition

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

public:
 override bool Equals(System::Object ^ obj);
public override bool Equals (object obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean

Parameters

obj
Object

The object to compare with the current instance of SupportsPreviewControlAttribute.

Returns

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

Remarks

The Equals method overrides the Object.Equals method.

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

Applies to

See also