語言

CustomPopupPlacement.Equality 運算子

定義

比較兩個 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

適用於

另請參閱