Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Monitor Namespace / MetricSample Class / CompareTo Method

In This Topic
    CompareTo Method (MetricSample)
    In This Topic
    Compare this metric sample with another to determine if they are the same or how they should be sorted relative to each other.
    Syntax
    'Declaration
     
    
    Public Function CompareTo( _
       ByVal other As IMetricSample _
    ) As Integer
    public int CompareTo( 
       IMetricSample other
    )

    Parameters

    other

    Return Value

    0 for an exact match, otherwise the relationship between the two for sorting.
    Remarks
    MetricSample instances are sorted by their Sequence number 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