Edit

Share via


SortDescription.Equality(SortDescription, SortDescription) Operator

Definition

Compares two SortDescription objects for value equality.

public:
 static bool operator ==(System::ComponentModel::SortDescription sd1, System::ComponentModel::SortDescription sd2);
public static bool operator == (System.ComponentModel.SortDescription sd1, System.ComponentModel.SortDescription sd2);
static member ( = ) : System.ComponentModel.SortDescription * System.ComponentModel.SortDescription -> bool
Public Shared Operator == (sd1 As SortDescription, sd2 As SortDescription) As Boolean

Parameters

sd1
SortDescription

The first instance to compare.

sd2
SortDescription

The second instance to compare.

Returns

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

Remarks

The equivalent method for this operator is SortDescription.Equals.

Applies to