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 執行個體。

適用於