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)

Syntax

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

Parameters

Return Value

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

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

SortDescription Structure

System.ComponentModel Namespace

PropertyName

Direction