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

要与当前类型进行比较的对象。

返回

Boolean

如果指定的对象是值和大小调整模式与当前 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

返回

Boolean

如果指定的对象是值和大小调整模式与当前 RibbonControlLength 相同的 RibbonControlLength,则为 true;否则为 false

实现

适用于