CustomPopupPlacement.Equality 運算子
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
比較兩個 CustomPopupPlacement 結構,判斷它們是否相等。
public:
static bool operator ==(System::Windows::Controls::Primitives::CustomPopupPlacement placement1, System::Windows::Controls::Primitives::CustomPopupPlacement placement2);
public static bool operator == (System.Windows.Controls.Primitives.CustomPopupPlacement placement1, System.Windows.Controls.Primitives.CustomPopupPlacement placement2);
static member ( = ) : System.Windows.Controls.Primitives.CustomPopupPlacement * System.Windows.Controls.Primitives.CustomPopupPlacement -> bool
Public Shared Operator == (placement1 As CustomPopupPlacement, placement2 As CustomPopupPlacement) As Boolean
參數
- placement1
- CustomPopupPlacement
要比較的第一個 CustomPopupPlacement 結構。
- placement2
- CustomPopupPlacement
要比較的第二個 CustomPopupPlacement 結構。
傳回
如果結構有相同值,則為 true
,否則為 false
。