KeyTimeHelper KeyTimeHelper KeyTimeHelper KeyTimeHelper Class

Definition

Provides utility methods for working with KeyTime values. C# and Microsoft Visual Basic code should use members of KeyTime instead.

public : sealed class KeyTimeHelper : IKeyTimeHelper
struct winrt::Windows::UI::Xaml::Media::Animation::KeyTimeHelper : IKeyTimeHelper
public sealed class KeyTimeHelper : IKeyTimeHelper
Public NotInheritable Class KeyTimeHelper Implements IKeyTimeHelper
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Methods

FromTimeSpan(TimeSpan) FromTimeSpan(TimeSpan) FromTimeSpan(TimeSpan) FromTimeSpan(TimeSpan)

Generates a new KeyTime with initial data based on the specified TimeSpan. C# and Microsoft Visual Basic code should use FromTimeSpan instead.

public : static KeyTime FromTimeSpan(TimeSpan timeSpan)
KeyTime FromTimeSpan(TimeSpan timeSpan) const;
public static KeyTime FromTimeSpan(TimeSpan timeSpan)
Public Static Function FromTimeSpan(timeSpan As TimeSpan) As KeyTime
Parameters
timeSpan
TimeSpan TimeSpan

The TimeSpan data value to establish.

Returns

The generated KeyTime value.