Share via


Accelerator.Equals(Object) Method

Definition

Compares this accelerator to obj and returns true if obj is a of type Accelerator and is equal to this one. Otherwise, returns false.

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

Returns

true if obj is a of type Accelerator and is equal to this one. Otherwise, returns false.

Applies to