Udostępnij za pośrednictwem


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);
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