KeyTime Implicit Conversion (TimeSpan to KeyTime)

 

Overloaded operator that implicitly converts a TimeSpan to a KeyTime.

Namespace:   System.Windows.Media.Animation
Assembly:  PresentationCore (in PresentationCore.dll)

public:
static operator KeyTime (
	TimeSpan timeSpan
)

Parameters

timeSpan
Type: System::TimeSpan

The TimeSpan value to convert.

Return Value

Type: System.Windows.Media.Animation::KeyTime

The new KeyTime instance.

.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: