SortDescription.Inequality Operator

Compares two SortDescription instances for value inequality.

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


Public Shared Operator <> ( _
    sd1 As SortDescription, _
    sd2 As SortDescription _
) As Boolean
public static bool operator !=(
    SortDescription sd1,
    SortDescription sd2


Return Value

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

Version Information


Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0


For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.