Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Monitor Namespace / Metric Class / CompareTo Method
The Metric object to compare this Metric object against

In This Topic
    CompareTo Method (Metric)
    In This Topic
    Compare this Metric to another Metric to determine sort order
    Syntax
    'Declaration
     
    
    Public Function CompareTo( _
       ByVal other As Metric _
    ) As Integer
    public int CompareTo( 
       Metric other
    )

    Parameters

    other
    The Metric object to compare this Metric object against

    Return Value

    An int which is less than zero, equal to zero, or greater than zero to reflect whether this Metric should sort as being less-than, equal to, or greater-than the other Metric, respectively.
    Remarks
    Metric instances are sorted by their Name property.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also