Loupe - Log - Monitor - Resolve
Gibraltar.Monitor Namespace / Session Class / CompareTo Method
The other Session object to compare this object to.

In This Topic
    CompareTo Method (Session)
    In This Topic
    Compares this Session object to another to determine sorting order.
    Syntax
    'Declaration
     
    
    Public Function CompareTo( _
       ByVal other As Session _
    ) As Integer
    public int CompareTo( 
       Session other
    )

    Parameters

    other
    The other Session 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 Session should sort as being less-than, equal to, or greater-than the other Session, respectively.
    Remarks
    Session instances are sorted primarily by their StartDateTime 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