Share via


EnhancedTimeSpan.Subtraction operator (TimeSpan, EnhancedTimeSpan)

Namespace:  Microsoft.Exchange.Data
Assembly:  Microsoft.Exchange.Data (in Microsoft.Exchange.Data.dll)

Syntax

'Declaration
Public Shared Operator - ( _
    t1 As TimeSpan, _
    t2 As EnhancedTimeSpan _
) As EnhancedTimeSpan
'Usage
Dim t1 As TimeSpan
Dim t2 As EnhancedTimeSpan
Dim returnValue As EnhancedTimeSpan

returnValue = (t1 - t2)
public static EnhancedTimeSpan operator -(
    TimeSpan t1,
    EnhancedTimeSpan t2
)

Parameters

Return value

Type: Microsoft.Exchange.Data.EnhancedTimeSpan

See also

Reference

EnhancedTimeSpan structure

EnhancedTimeSpan members

Subtraction overload

Microsoft.Exchange.Data namespace