RepeatBehavior.Equality(RepeatBehavior, RepeatBehavior) 运算符

定义

指示两个指定的 RepeatBehavior 值是否相等。

public:
 static bool operator ==(Windows::UI::Xaml::Media::Animation::RepeatBehavior repeatBehavior1, Windows::UI::Xaml::Media::Animation::RepeatBehavior repeatBehavior2);
public static bool operator == (Windows.UI.Xaml.Media.Animation.RepeatBehavior repeatBehavior1, Windows.UI.Xaml.Media.Animation.RepeatBehavior repeatBehavior2);
static member ( = ) : Windows.UI.Xaml.Media.Animation.RepeatBehavior * Windows.UI.Xaml.Media.Animation.RepeatBehavior -> bool
Public Shared Operator == (repeatBehavior1 As RepeatBehavior, repeatBehavior2 As RepeatBehavior) As Boolean

参数

repeatBehavior1
RepeatBehavior

要比较的第一个值。

repeatBehavior2
RepeatBehavior

要比较的第二个值。

返回

Boolean

如果 repeatBehavior1repeatBehavior2 的类型和重复行为相等,则为 true;否则为 false

注解

此结构表示 WinRT Windows运行时 (的 .NET) RepeatBehavior 投影。 有关详细信息,请参阅 UWP API 参考中的 RepeatBehavior。

适用于