語言

KeyTime.Implicit(TimeSpan to KeyTime) 運算子

定義

一個過載運算子,隱含地將 a 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 實例。

適用於