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.