Edit

Share via


RepeatBehavior.Equals Method

Definition

Overloads

Equals(Object)

Indicates whether the specified object is equal to this RepeatBehavior.

Equals(RepeatBehavior)

Returns a value that indicates whether the specified RepeatBehavior is equal to this RepeatBehavior.

Equals(RepeatBehavior, RepeatBehavior)

Indicates whether the two specified RepeatBehavior values are equal.

Remarks

This struct represents the .NET projection of the Windows Runtime (WinRT) RepeatBehavior struct. For more information, see RepeatBehavior in the UWP API reference.

Equals(Object)

Indicates whether the specified object is equal to this RepeatBehavior.

public:
 override bool Equals(System::Object ^ value);
public override bool Equals (object value);
override this.Equals : obj -> bool
Public Overrides Function Equals (value As Object) As Boolean

Parameters

value
Object

The object to compare with this RepeatBehavior.

Returns

true if value is a RepeatBehavior that represents the same repeat behavior as this RepeatBehavior; otherwise, false.

Applies to

Equals(RepeatBehavior)

Returns a value that indicates whether the specified RepeatBehavior is equal to this RepeatBehavior.

public:
 bool Equals(Windows::UI::Xaml::Media::Animation::RepeatBehavior repeatBehavior);
public bool Equals (Windows.UI.Xaml.Media.Animation.RepeatBehavior repeatBehavior);
override this.Equals : Windows.UI.Xaml.Media.Animation.RepeatBehavior -> bool
Public Function Equals (repeatBehavior As RepeatBehavior) As Boolean

Parameters

repeatBehavior
RepeatBehavior

The value to compare to this RepeatBehavior.

Returns

true if both the type and repeat behavior of repeatBehavior are equal to this RepeatBehavior; otherwise, false.

Applies to

Equals(RepeatBehavior, RepeatBehavior)

Indicates whether the two specified RepeatBehavior values are equal.

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

Parameters

repeatBehavior1
RepeatBehavior

The first value to compare.

repeatBehavior2
RepeatBehavior

The second value to compare.

Returns

true if both the type and repeat behavior of repeatBehavior1 are equal to that of repeatBehavior2; otherwise, false.

Applies to