KeyTime::FromTimeSpan Method (TimeSpan)

 

Creates a new KeyTime instance, with the KeyTimeType property initialized to the value of the specified parameter.

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

public:
static KeyTime FromTimeSpan(
	TimeSpan timeSpan
)

Parameters

timeSpan
Type: System::TimeSpan

The value of the new KeyTime.

Return Value

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

A new KeyTime instance, initialized to the value of timeSpan.

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