Inequality Operator

Duration.Inequality Operator

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Determines if two Duration cases are not equal.

Namespace:  System.Windows
Assembly:  System.Windows (in System.Windows.dll)

public static bool operator !=(
	Duration t1,
	Duration t2
)

Parameters

t1
Type: System.Windows.Duration
The first Duration to compare.
t2
Type: System.Windows.Duration
The second Duration to compare.

Return Value

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

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft