共用方式為


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 結構。

傳回

Boolean

如果結構有相同值,則為 true,否則為 false

適用於

另請參閱