次の方法で共有


PSEventSubscriber.Equals Method

Definition

Overloads

Equals(PSEventSubscriber)

Determines if two PSEventSubscriber instances are equal

Equals(Object)

Determines whether the specified object is equal to the current object.

Equals(PSEventSubscriber)

Determines if two PSEventSubscriber instances are equal

public:
 virtual bool Equals(System::Management::Automation::PSEventSubscriber ^ other);
public bool Equals (System.Management.Automation.PSEventSubscriber other);
override this.Equals : System.Management.Automation.PSEventSubscriber -> bool
Public Function Equals (other As PSEventSubscriber) As Boolean

Parameters

other
PSEventSubscriber

The PSEventSubscriber to which to compare this instance

Returns

Implements

Applies to

Equals(Object)

Determines whether the specified object is equal to the current object.

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

Returns

true if the specified object is equal to the current object; otherwise, false.

Applies to