RepeatBehaviorHelper.GetHasDuration(RepeatBehavior) Method

Definition

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.

Applies to