Dela via


RepeatBehaviorHelper.GetHasCount(RepeatBehavior) Method

Definition

Returns whether a specified RepeatBehavior has a RepeatBehaviorType of Count and a nonzero Count value. C# and Microsoft Visual Basic code should use HasCount instead.

 static bool GetHasCount(RepeatBehavior const& target);
public static bool GetHasCount(RepeatBehavior target);
function getHasCount(target)
Public Shared Function GetHasCount (target As RepeatBehavior) As Boolean

Parameters

target
RepeatBehavior

The RepeatBehavior to evaluate.

Returns

Boolean

bool

true if target has a RepeatBehaviorType of Count and a nonzero Count value. Otherwise, false.

Applies to