Bewerken

Delen via


Duration.TimeSpan Property

Definition

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