SortDescription.Equality Operator (SortDescription, SortDescription)

 
equivalentCodeEntityM:System.ComponentModel.SortDescription.Equals(System.ComponentModel.SortDescription,System.ComponentModel.SortDescription)

Compares two SortDescription objects for value equality.

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

Public Shared Operator = (
	sd1 As SortDescription,
	sd2 As SortDescription
) As Boolean

Parameters

sd1
Type: System.ComponentModel.SortDescription

The first instance to compare.

sd2
Type: System.ComponentModel.SortDescription

The second instance to compare.

Return Value

Type: System.Boolean

true if the two objects are equal; otherwise, false.

.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: