Share via


SPRibbonMenuItem.IComparable<SPRibbonMenuItem>.CompareTo Method

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Private Function CompareTo ( _
    other As SPRibbonMenuItem _
) As Integer Implements IComparable(Of SPRibbonMenuItem).CompareTo
'Usage
Dim instance As SPRibbonMenuItem
Dim other As SPRibbonMenuItem
Dim returnValue As Integer

returnValue = CType(instance, IComparable(Of SPRibbonMenuItem)).CompareTo(other)
intIComparable<SPRibbonMenuItem>.CompareTo(
    SPRibbonMenuItem other
)

Parameters

Return Value

Type: System.Int32

Implements

IComparable<T>.CompareTo(T)

See Also

Reference

SPRibbonMenuItem Class

SPRibbonMenuItem Members

Microsoft.SharePoint.WebControls Namespace