Add Method
Collapse the table of content
Expand the table of content

Duration.Add Method

Adds the value of the specified Duration to this Duration.

Namespace:  System.Windows
Assembly:  System.Windows (in System.Windows.dll)

public Duration Add(
	Duration duration
)

Parameters

duration
Type: System.Windows.Duration
An instance of Duration that represents the value of the current instance plus duration.

Return Value

Type: System.Windows.Duration
If each involved Duration has values, a Duration that represents the combined values. Otherwise this method returns null.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2016 Microsoft