Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Duration.TimeSpan Property

Definition

Namespace:
Windows.UI.Xaml
Assembly:
System.Runtime.WindowsRuntime.UI.Xaml.dll

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.

Gets the TimeSpan value that this Duration represents.

public:
 property TimeSpan TimeSpan { TimeSpan get(); };
public TimeSpan TimeSpan { get; }
member this.TimeSpan : TimeSpan
Public ReadOnly Property TimeSpan As TimeSpan

Property Value

The TimeSpan value that this Duration represents.

Exceptions

The Duration does not represent a TimeSpan.

Remarks

This struct represents the .NET projection of the Windows Runtime (WinRT) Duration struct. For more information, see Duration in the UWP API reference.

Applies to


Feedback

Was this page helpful?