KeyTime Implicit Conversion (TimeSpan to KeyTime)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Overloaded operator that implicitly converts a TimeSpan to a KeyTime.

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

public static implicit 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: