RibbonControlLength.Equals 方法

定義

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

多載

Equals(Object)

判斷指定的物件是否等於目前的 RibbonControlLength

Equals(RibbonControlLength)

判斷指定的 RibbonControlLength 是否等於目前的 RibbonControlLength

Equals(Object)

判斷指定的物件是否等於目前的 RibbonControlLength

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

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

傳回

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

適用於

Equals(RibbonControlLength)

判斷指定的 RibbonControlLength 是否等於目前的 RibbonControlLength

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

參數

other
RibbonControlLength

要與目前執行個體相比較的 RibbonControlLength

傳回

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

實作

適用於