Edit

Share via


KeyTime.Implicit(TimeSpan to KeyTime) Operator

Definition

Overloaded operator that implicitly converts a TimeSpan to a 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

Parameters

timeSpan
TimeSpan

The TimeSpan value to convert.

Returns

The new KeyTime instance.

Applies to