DurationHelper.Add method

Applies to Windows and Windows Phone

Adds the TimeSpan component of two Duration values. C# and Microsoft Visual Basic code should use the + operator or the Add method instead.

Syntax


public:
static Duration Add(
  Duration target, 
  Duration duration
)

Parameters

target

Type: Duration

The value to add to.

duration

Type: Duration

The value to add.

Return value

Type: Duration

The resulting Duration after TimeSpan component addition.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows::UI::Xaml

Metadata

Windows.winmd

See also

DurationHelper

 

 

Show:
© 2014 Microsoft