DateTimeWithZone.Add Method (DateTimeWithZone, DayTimeDuration)DateTimeWithZone.Add Method (DateTimeWithZone, DayTimeDuration)DateTimeWithZone::Add Method (DateTimeWithZone, DayTimeDuration)

Syntax

Public Shared Function Add( _
    dateTime As DateTimeWithZone, _
    duration As DayTimeDuration _
) As DateTimeWithZone
public static DateTimeWithZone Add(
    DateTimeWithZone dateTime,
    DayTimeDuration duration
)
public:
static DateTimeWithZone Add(
    DateTimeWithZone dateTime, 
    DayTimeDuration duration
)
 

Exceptions

ExceptionCondition
OverflowExceptionOverflowExceptionOverflowExceptionAn overflow error occurred.