Share via


RibbonControlLength.Inequality Operator

Compares two RibbonControlLength structures to determine whether they are not equal.

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

Return Value

Type: System.Boolean
true if the two RibbonControlLength instances do not have the same value or sizing mode; otherwise, false.

.NET Framework Security

See Also

Reference

RibbonControlLength Structure

Microsoft.Windows.Controls.Ribbon Namespace