Compartir a través de


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
)

Return Value

Type: System.Int32