RepeatBehavior.Equals Method

Definition

Indicates whether two RepeatBehavior objects are equal.

Overloads

Equals(Object)

Indicates whether this instance is equal to the specified object.

Equals(RepeatBehavior)

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

Equals(RepeatBehavior, RepeatBehavior)

Indicates whether the two specified RepeatBehavior structures are equal.

Equals(Object)

Indicates whether this instance is equal to the specified object.

C#
public override bool Equals(object value);

Parameters

value
Object

The object to compare with this instance.

Returns

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

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9

Equals(RepeatBehavior)

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

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

Parameters

repeatBehavior
RepeatBehavior

The value to compare to this instance.

Returns

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

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9

Equals(RepeatBehavior, RepeatBehavior)

Indicates whether the two specified RepeatBehavior structures are equal.

C#
public static bool Equals(System.Windows.Media.Animation.RepeatBehavior repeatBehavior1, System.Windows.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

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9