RepeatBehaviorHelper.FromDuration(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 RepeatBehavior based on a timespan. C# and Microsoft Visual Basic code should use RepeatBehavior(TimeSpan) instead.
static RepeatBehavior FromDuration(TimeSpan const& duration);
public static RepeatBehavior FromDuration(System.TimeSpan duration);
function fromDuration(duration)
Public Shared Function FromDuration (duration As TimeSpan) As RepeatBehavior
Parameters
Returns
The created RepeatBehavior, which has a RepeatBehaviorType value of Duration.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for