Прочетете на английски Редактиране

Споделяне чрез


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.

C#
public override bool Equals(object value);

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

UWP 10.0
Продукт Версии
UWP 10.0

Equals(RepeatBehavior)

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

C#
public bool Equals(Windows.UI.Xaml.Media.Animation.RepeatBehavior repeatBehavior);

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

UWP 10.0
Продукт Версии
UWP 10.0

Equals(RepeatBehavior, RepeatBehavior)

Indicates whether the two specified RepeatBehavior values are equal.

C#
public static bool Equals(Windows.UI.Xaml.Media.Animation.RepeatBehavior repeatBehavior1, Windows.UI.Xaml.Media.Animation.RepeatBehavior repeatBehavior2);

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

UWP 10.0
Продукт Версии
UWP 10.0