Edit

Share via


Duration.HasTimeSpan Property

Definition

Gets a value that indicates if this Duration represents a TimeSpan value.

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

Property Value

true if this Duration is a TimeSpan value; otherwise, false.

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