Duration.EqualsDuration.EqualsDuration.EqualsDuration.Equals Method

オーバーロード

 Equals(Object) Equals(Object) Equals(Object) Equals(Object) 指定したオブジェクトが Duration のインスタンスと等しいかどうかを判断します。Determines whether a specified object is equal to an instance of Duration. Equals(Duration) Equals(Duration) Equals(Duration) 指定した Duration が、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) Duration の 2 つのインスタンスが等しいかどうかを判断します。Determines whether two instances of Duration are equal.

Equals(Object)Equals(Object)Equals(Object)Equals(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

パラメーター

value
Object Object Object Object

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

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

パラメーター

duration
Duration Duration Duration Duration

戻り値

durationDuration の現在のインスタンスと等しい場合は true。それ以外の場合は falsetrue if duration is equal to the current instance of Duration; otherwise, false.

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

Duration の 2 つのインスタンスが等しいかどうかを判断します。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

パラメーター

t1
Duration Duration Duration Duration

t2
Duration Duration Duration Duration

2 番目に比較する Duration のインスタンス。Second instance of Duration to compare.

戻り値

truet1 に等しい場合は t2。それ以外の場合は falsetrue if t1 is equal to t2; otherwise, false.