KeyTime.Implicit(TimeSpan to KeyTime) 运算符

定义

隐式将 TimeSpan 转换为 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

参数

timeSpan
TimeSpan

要转换的 TimeSpan 值。

返回

KeyTime

创建的 KeyTime

注解

此结构表示 Windows 运行时 (WinRT) 结构的 .NET 投影 KeyTime 。 有关详细信息,请参阅 UWP API 参考中的 system.windows.media.animation.keytime>

适用于