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

Syntax

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

Exceptions

ExceptionCondition
OverflowExceptionOverflowExceptionOverflowExceptionAn overflow error occurred.