This topic has not yet been rated - Rate this topic

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.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.