Share via


RibbonControlLength.Equals Method (Object)

Determines whether the specified object is equal to the current RibbonControlLength.

Namespace:  Microsoft.Windows.Controls.Ribbon
Assembly:  RibbonControlsLibrary (in RibbonControlsLibrary.dll)

Syntax

'Declaration
Public Overrides Function Equals ( _
    obj As Object _
) As Boolean
public override bool Equals(
    Object obj
)
public:
virtual bool Equals(
    Object^ obj
) override
abstract Equals : 
        obj:Object -> bool 
override Equals : 
        obj:Object -> bool 
public override function Equals(
    obj : Object
) : boolean

Parameters

  • obj
    Type: System.Object
    The object to compare to the current instance.

Return Value

Type: System.Boolean
true if the specified object is a RibbonControlLength with the same value and sizing mode as the current RibbonControlLength; otherwise, false.

.NET Framework Security

See Also

Reference

RibbonControlLength Structure

Equals Overload

Microsoft.Windows.Controls.Ribbon Namespace