语言

KeyTime.Implicit(TimeSpan to KeyTime) 操作员

定义

隐式转换为 TimeSpanKeyTimea 的重载运算符。

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

参数

timeSpan
TimeSpan

要 TimeSpan 转换的值。

返回

新 KeyTime 实例。

适用于