語言

DataGridLength.Equals 方法

定義

判斷一個物體是否等於電流 DataGridLength。

多載

名稱 Description
Equals(Object)

判斷指定的物件是否等於當前 DataGridLength的 。

Equals(DataGridLength)

判斷指定的 DataGridLength 是否等於電流 DataGridLength。

Equals(Object)

判斷指定的物件是否等於當前 DataGridLength的 。

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

參數

obj
Object

要與當前實例比較的物件。

傳回

true 若指定的物件為 DataGridLength 與當前 DataGridLength物件相同的值或大小模式;否則, false。

適用於

Equals(DataGridLength)

判斷指定的 DataGridLength 是否等於電流 DataGridLength。

public:
 virtual bool Equals(System::Windows::Controls::DataGridLength other);
public bool Equals(System.Windows.Controls.DataGridLength other);
override this.Equals : System.Windows.Controls.DataGridLength -> bool
Public Function Equals (other As DataGridLength) As Boolean

參數

other
DataGridLength

與 DataGridLength 目前的實例比較。

傳回

true 若指定的物件為 DataGridLength 與當前 DataGridLength物件相同的值或大小模式;否則, false。

實作

適用於