KeyTimeHelper.FromTimeSpan(TimeSpan) Method

Definition

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

 static KeyTime FromTimeSpan(TimeSpan const& timeSpan);
public static KeyTime FromTimeSpan(System.TimeSpan timeSpan);
Public Shared Function FromTimeSpan (timeSpan As TimeSpan) As KeyTime

Parameters

timeSpan
Windows.Foundation.TimeSpan TimeSpan

The TimeSpan data value to establish.

Returns

KeyTime

The generated KeyTime value.

Applies to