SortDescription.Equality(SortDescription, SortDescription) 運算子
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
比較兩個 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的等價方法是 。