KeyTime.Implicit(TimeSpan to KeyTime) Operator

Definition

Konverterar implicit en TimeSpan till en 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

Parametrar

timeSpan
TimeSpan

Värdet TimeSpan som ska konverteras.

Returer

Den skapade KeyTime.

Kommentarer

Den här structen representerar .NET projektion av Windows Runtime (WinRT) KeyTime struct. Mer information finns i KeyTime i UWP API-referensen.

Gäller för