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.
Creates a new KeyTime instance, with the KeyTimeType property initialized to the value of the specified parameter.
public:
static System::Windows::Media::Animation::KeyTime FromTimeSpan(TimeSpan timeSpan);
public static System.Windows.Media.Animation.KeyTime FromTimeSpan (TimeSpan timeSpan);
static member FromTimeSpan : TimeSpan -> System.Windows.Media.Animation.KeyTime
Public Shared Function FromTimeSpan (timeSpan As TimeSpan) As KeyTime
Parameters
Returns
A new KeyTime instance, initialized to the value of timeSpan
.
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.