Share via


DataGridLength.Equals 方法

定義

判斷物件與目前 DataGridLength 是否相等。

多載

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

要與目前執行個體相比較的物件。

傳回

Boolean

如果指定的物件是一個與目前 DataGridLength 具有相同值或調整大小模式的 DataGridLength,則為 true,否則為 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

傳回

Boolean

如果指定的物件是一個與目前 DataGridLength 具有相同值或調整大小模式的 DataGridLength,則為 true,否則為 false

實作

適用於