DateTimeUtil.Add(DateTime, TimeSpan) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static DateTime Add (DateTime time, TimeSpan timespan);
static member Add : DateTime * TimeSpan -> DateTime
Public Shared Function Add (time As DateTime, timespan As TimeSpan) As DateTime
Parameters
Returns
The sum of time
and timespan
, or MaxValue if the sum exceeds it, or MinValue if the sum is less than it.
Applies to
Обратная связь
https://aka.ms/ContentUserFeedback.
Ожидается в ближайшее время: в течение 2024 года мы постепенно откажемся от GitHub Issues как механизма обратной связи для контента и заменим его новой системой обратной связи. Дополнительные сведения см. в разделеОтправить и просмотреть отзыв по