Edit

Share via


KeyTime.Implicit(TimeSpan to KeyTime) Operator

Definition

Implicitly converts a TimeSpan to a KeyTime.

public:
 static operator Windows::UI::Xaml::Media::Animation::KeyTime(TimeSpan timeSpan);
public static implicit operator Windows.UI.Xaml.Media.Animation.KeyTime (TimeSpan timeSpan);
static member op_Implicit : TimeSpan -> Windows.UI.Xaml.Media.Animation.KeyTime
Public Shared Widening Operator CType (timeSpan As TimeSpan) As KeyTime

Parameters

timeSpan
TimeSpan

The TimeSpan value to convert.

Returns

The created KeyTime.

Remarks

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

Applies to