PivotViewerHyperlink.CompareTo Method (PivotViewerHyperlink)

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Compares this PivotViewerHyperlink to another PivotViewerHyperlink.

Namespace:  System.Windows.Controls.Pivot
Assembly:  System.Windows.Controls.Pivot (in System.Windows.Controls.Pivot.dll)

Syntax

'Declaration
Public Function CompareTo ( _
    other As PivotViewerHyperlink _
) As Integer
public int CompareTo(
    PivotViewerHyperlink other
)

Return Value

Type: System.Int32
The result of a string comparison on the Text of both PivotViewerHyperlinks. If the Text is the same, compares the absolute Uri.

Implements

IComparable<T>.CompareTo(T)

Version Information

Silverlight

Supported in: 5

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.