KeyTime.Implicit(TimeSpan to KeyTime) 运算符

定义

重载运算符,用来将 TimeSpan 隐式转换为 KeyTime

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

新的 KeyTime 实例。

适用于