SortDescription.Equals Method

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

Compares the specified instance and the current instance of SortDescription for value equality.

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

Syntax

Public Overrides Function Equals ( _
    obj As Object _
) As Boolean
public override bool Equals(
    Object obj
)

Parameters

Return Value

Type: System..::.Boolean
true if obj and this SortDescription instance 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