Note

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

Access to this page requires authorization. You can try .

Duration.HasTimeSpan 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 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


Feedback

Was this page helpful?