Skip to content

Latest commit

 

History

History
34 lines (19 loc) · 954 Bytes

durationhelper_gethastimespan_1442142909.md

File metadata and controls

34 lines (19 loc) · 954 Bytes
-api-id -api-type
M:Windows.UI.Xaml.DurationHelper.GetHasTimeSpan(Windows.UI.Xaml.Duration)
winrt method

Windows.UI.Xaml.DurationHelper.GetHasTimeSpan

-description

Returns whether the TimeSpan component of a given Duration holds a non-null value. C# and Microsoft Visual Basic code should use Duration.HasTimeSpan instead.

-parameters

-param target

The Duration value to evaluate.

-returns

true if the TimeSpan component of the provided Duration is not null; otherwise, false.

-remarks

If this method returns false, then the Duration is either uninitialized or holds one of the special values of Automatic or Forever.

-examples

-see-also