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

适用于

另请参阅