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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.