Inequality Operator
Collapse the table of content
Expand the table of content

SortDescription.Inequality Operator

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

Compares two SortDescription instances for value inequality.

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

public static bool operator !=(
	SortDescription sd1,
	SortDescription sd2
)

Parameters

sd1
Type: System.ComponentModel.SortDescription
The first SortDescription instance to compare.
sd2
Type: System.ComponentModel.SortDescription
The second SortDescription instance to compare.

Return Value

Type: System.Boolean
true if the two SortDescription instances do not have the same PropertyName and Direction values; otherwise, false.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft