共用方式為


PSObject.Equals(Object) Method

Definition

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

public:
 override bool Equals(System::Object ^ obj);
public:
 override bool Equals(Platform::Object ^ obj);
 override bool Equals(winrt::Windows::Foundation::IInspectable const & 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 Object.

Returns

True if the specified Object is equal to the current Object; otherwise, false.

Applies to