Duration.Inequality Operator (Duration, Duration)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

equivalentCodeEntityM:System.Windows.Duration.Compare(System.Windows.Duration,System.Windows.Duration)

Determines if two instances of Duration are not equal.

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

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

Parameters

t1
Type: System.Windows.Duration

The first instance of Duration to compare.

t2
Type: System.Windows.Duration

The second instance of 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.

.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: