Uređivanje

Dijeli putem


KeyTime.FromTimeSpan(TimeSpan) Method

Definition

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

public:
 static System::Windows::Media::Animation::KeyTime FromTimeSpan(TimeSpan timeSpan);
public static System.Windows.Media.Animation.KeyTime FromTimeSpan (TimeSpan timeSpan);
static member FromTimeSpan : TimeSpan -> System.Windows.Media.Animation.KeyTime
Public Shared Function FromTimeSpan (timeSpan As TimeSpan) As KeyTime

Parameters

timeSpan
TimeSpan

The value of the new KeyTime.

Returns

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

Applies to