Duration.Equals Duration.Equals Duration.Equals Duration.Equals Method

Definition

Indicates whether a specified object is equal to an instance of Duration.

Overloads

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether a specified object is equal to an instance of Duration.

Equals(Duration) Equals(Duration) Equals(Duration)

Determines whether a specified Duration is equal to this instance of Duration.

Equals(Duration, Duration) Equals(Duration, Duration) Equals(Duration, Duration) Equals(Duration, Duration)

Determines whether two instances of Duration are equal.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether a specified object is equal to an instance of Duration.

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 Object Object Object

Object to check for equality.

Returns

true if value is equal to the current instance of Duration; otherwise, false.

Equals(Duration) Equals(Duration) Equals(Duration)

Determines whether a specified Duration is equal to this instance of Duration.

public:
 bool Equals(System::Windows::Duration duration);
public bool Equals (System.Windows.Duration duration);
override this.Equals : System.Windows.Duration -> bool

Parameters

duration
Duration Duration Duration Duration

Instance of Duration to check for equality.

Returns

true if duration is equal to the current instance of Duration; otherwise, false.

Equals(Duration, Duration) Equals(Duration, Duration) Equals(Duration, Duration) Equals(Duration, Duration)

Determines whether two instances of Duration are equal.

public:
 static bool Equals(System::Windows::Duration t1, System::Windows::Duration t2);
public static bool Equals (System.Windows.Duration t1, System.Windows.Duration t2);
static member Equals : System.Windows.Duration * System.Windows.Duration -> bool
Public Shared Function Equals (t1 As Duration, t2 As Duration) As Boolean

Parameters

t1
Duration Duration Duration Duration

First instance of Duration to compare.

t2
Duration Duration Duration Duration

Second instance of Duration to compare.

Returns

true if t1 is equal to t2; otherwise, false.

Applies to