Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Compares two RibbonControlLength structures for equality.
Namespace: Microsoft.Windows.Controls.Ribbon
Assembly: RibbonControlsLibrary (in RibbonControlsLibrary.dll)
Syntax
'Declaration
Public Shared Operator = ( _
length1 As RibbonControlLength, _
length2 As RibbonControlLength _
) As Boolean
public static bool operator ==(
RibbonControlLength length1,
RibbonControlLength length2
)
public:
static bool operator ==(
RibbonControlLength length1,
RibbonControlLength length2
)
static let inline (=)
length1:RibbonControlLength *
length2:RibbonControlLength : bool
JScript does not support overloaded operators.
Parameters
- length1
Type: Microsoft.Windows.Controls.Ribbon.RibbonControlLength
The first RibbonControlLength instance to compare.
- length2
Type: Microsoft.Windows.Controls.Ribbon.RibbonControlLength
The second RibbonControlLength instance to compare.
Return Value
Type: System.Boolean
true if the two RibbonControlLength instances have the same value and sizing mode; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.