Share via


RepeatBehaviorHelper.GetHasCount(RepeatBehavior) 方法

定义

返回指定的 RepeatBehavior 是否具有 CountRepeatBehaviorType 和非零 Count 值。 C# 和 Microsoft Visual Basic 代码应改用 HasCount

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

参数

target
RepeatBehavior

要计算的 RepeatBehavior

返回

Boolean

bool

如果 target 具有 CountRepeatBehaviorType 和非零 Count 值,则为 true。 否则为 false

适用于