Share via


ExDateTime.Compare method (ExDateTime, ExDateTime, TimeSpan)

Namespace:  Microsoft.Exchange.ExchangeSystem
Assembly:  Microsoft.Exchange.Net (in Microsoft.Exchange.Net.dll)

Syntax

'Declaration
Public Shared Function Compare ( _
    dt1 As ExDateTime, _
    dt2 As ExDateTime, _
    threshold As TimeSpan _
) As Integer
'Usage
Dim dt1 As ExDateTime
Dim dt2 As ExDateTime
Dim threshold As TimeSpan
Dim returnValue As Integer

returnValue = ExDateTime.Compare(dt1, dt2, _
    threshold)
public static int Compare(
    ExDateTime dt1,
    ExDateTime dt2,
    TimeSpan threshold
)

Parameters

Return value

Type: System.Int32

See also

Reference

ExDateTime structure

ExDateTime members

Compare overload

Microsoft.Exchange.ExchangeSystem namespace