Duration.Inequality(Duration, Duration) Duration.Inequality(Duration, Duration) Duration.Inequality(Duration, Duration) Duration.Inequality(Duration, Duration) Operator

定義

Duration の 2 つのインスタンスが等しくないかどうかを判断します。Determines if two instances of Duration are not equal.

public:
 static bool operator !=(System::Windows::Duration t1, System::Windows::Duration t2);
public static bool operator != (System.Windows.Duration t1, System.Windows.Duration t2);
static member op_Inequality : System.Windows.Duration * System.Windows.Duration -> bool
Public Shared Operator != (t1 As Duration, t2 As Duration) As Boolean

パラメーター

t1
Duration Duration Duration Duration

比較対象の Duration の第 1 インスタンス。The first instance of Duration to compare.

t2
Duration Duration Duration Duration

比較対象の Duration の第 2 インスタンス。The second instance of Duration to compare.

戻り値

t1 または t2 のいずれか 1 つだけが値を表す場合、または両方が値を表し、その値が異なる場合は true。それ以外の場合は falsetrue if exactly one of t1 or t2 represent a value, or if they both represent values that are not equal; otherwise, false.

注釈

この演算子の同等の方法は次のようになります。Duration.Compare(Duration, Duration)The equivalent method for this operator is Duration.Compare(Duration, Duration)

適用対象