Edytuj

Udostępnij za pośrednictwem


ToolboxDataAttribute.Equals(Object) Method

Definition

Tests whether the ToolboxDataAttribute object is equal to the given object.

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 to.

Returns

true, if the ToolboxDataAttribute object is equal to the given object; otherwise, false.

Remarks

The Equals method first compares the objects for equality. If the comparison returns false, the Equals method then compares the data of the ToolboxDataAttribute object to the data of the given object after first testing the given object to make sure that the given object is not null and is also typed as ToolboxDataAttribute object.

Applies to