SortDescription.Equality(SortDescription, SortDescription) 運算子

定義

比較兩個 SortDescription 物件以求價值平等。

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

參數

sd1
SortDescription

第一個比較例子。

sd2
SortDescription

第二個例子來比較。

傳回

true若兩個物件相等;否則,。 false

備註

此運算子 SortDescription.Equals的等價方法是 。

適用於