Share via


KeyTimeHelper.FromTimeSpan(TimeSpan) Method

Definition

Generates a new KeyTime with initial data based on the specified TimeSpan.

 static KeyTime FromTimeSpan(TimeSpan const& timeSpan);
public static KeyTime FromTimeSpan(System.TimeSpan timeSpan);
function fromTimeSpan(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.

Applies to