SortDescription.Equality 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 equality.
Assembly: System.Windows (in System.Windows.dll)
'Declaration Public Shared Operator = ( _ sd1 As SortDescription, _ sd2 As SortDescription _ ) As Boolean
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.Booleantrue if the two SortDescription instances have the same PropertyName and Direction values; otherwise, false.
Show: