KeyTimeHelper.FromTimeSpan(TimeSpan) KeyTimeHelper.FromTimeSpan(TimeSpan) KeyTimeHelper.FromTimeSpan(TimeSpan) 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.

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

Parameters

timeSpan
TimeSpan TimeSpan

The TimeSpan data value to establish.

Returns

The generated KeyTime value.