Redigera

Dela via


Duration.Inequality(Duration, Duration) Operator

Definition

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

Parameters

t1
Duration

The first instance of Duration to compare.

t2
Duration

The second instance of Duration to compare.

Returns

true if exactly one of t1 or t2 represent a value, or if they both represent values that are not equal; otherwise, false.

Remarks

The equivalent method for this operator is Duration.Compare(Duration, Duration)

Applies to