共用方式為


BufferCell.Equals(Object) Method

Definition

Overrides Equals(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

object to be compared for equality.

Returns

True if obj is BufferCell and its Character, ForegroundColor, BackgroundColor, and BufferCellType values are the same as those of this instance, false if not.

Applies to