RepeatBehaviorHelper.GetHasDuration(RepeatBehavior) 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.
Returns whether a specified RepeatBehavior has a RepeatBehaviorType of Duration and a nonzero Duration value. C# and Microsoft Visual Basic code should use HasDuration instead.
static bool GetHasDuration(RepeatBehavior const& target);
public static bool GetHasDuration(RepeatBehavior target);
function getHasDuration(target)
Public Shared Function GetHasDuration (target As RepeatBehavior) As Boolean
Parameters
- target
- RepeatBehavior
The RepeatBehavior to evaluate.
Returns
Boolean
bool
true if target has a RepeatBehaviorType of Duration and a nonzero Duration value. Otherwise, false.