KeyTime.FromTimeSpan(TimeSpan) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
static Windows::UI::Xaml::Media::Animation::KeyTime FromTimeSpan(TimeSpan timeSpan);
public static Windows.UI.Xaml.Media.Animation.KeyTime FromTimeSpan (TimeSpan timeSpan);
static member FromTimeSpan : TimeSpan -> Windows.UI.Xaml.Media.Animation.KeyTime
Public Shared Function FromTimeSpan (timeSpan As TimeSpan) As KeyTime
Parameters
Returns
A new KeyTime, initialized to the value of timeSpan
.
Exceptions
The specified timeSpan
is outside the allowed range.
Remarks
This struct represents the .NET projection of the Windows Runtime (WinRT) KeyTime
struct. For more information, see KeyTime in the UWP API reference.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.