DateTimeWithZone.Addition Operator (DateTimeWithZone, YearMonthDuration)DateTimeWithZone.Addition Operator (DateTimeWithZone, YearMonthDuration)DateTimeWithZone::Addition Operator (DateTimeWithZone, YearMonthDuration)

Syntax

Public Shared Operator +( _
    dateTime As DateTimeWithZone, _
    duration As YearMonthDuration _
) As DateTimeWithZone
public static DateTimeWithZone operator +(
    DateTimeWithZone dateTime,
    YearMonthDuration duration
)
public:
static DateTimeWithZone operator +(
    DateTimeWithZone dateTime, 
    YearMonthDuration duration
)
 

Exceptions

ExceptionCondition
OverflowExceptionOverflowExceptionOverflowExceptionAn overflow error occurred.