DataGridLength.Equals 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
判斷一個物體是否等於電流 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。