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

CompareTo Method (MetricValue)
Compare this metric value to another for the purpose of sorting them in time.
Syntax
'Declaration
 
Public Function CompareTo( _
   ByVal other As IMetricValue _
) As Integer
 

Parameters

other
The MetricValue object to compare this object to.

Return Value

An int which is less than zero, equal to zero, or greater than zero to reflect whether this MetricValue should sort as being less-than, equal to, or greater-than the other MetricValue, respectively.
Remarks
MetricValue 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