Edit

Kongsi melalui


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.

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 instance.

Returns

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

Applies to

Equals(RepeatBehavior)

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

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

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

Equals(RepeatBehavior, RepeatBehavior)

Indicates whether the two specified RepeatBehavior structures are equal.

public:
 static bool Equals(System::Windows::Media::Animation::RepeatBehavior repeatBehavior1, System::Windows::Media::Animation::RepeatBehavior repeatBehavior2);
public static bool Equals (System.Windows.Media.Animation.RepeatBehavior repeatBehavior1, System.Windows.Media.Animation.RepeatBehavior repeatBehavior2);
static member Equals : System.Windows.Media.Animation.RepeatBehavior * System.Windows.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