GeneratorPosition.Equality(GeneratorPosition, GeneratorPosition) 操作员

定义

比较两个 GeneratorPosition 对象的值是否相等。

public:
 static bool operator ==(System::Windows::Controls::Primitives::GeneratorPosition gp1, System::Windows::Controls::Primitives::GeneratorPosition gp2);
public static bool operator == (System.Windows.Controls.Primitives.GeneratorPosition gp1, System.Windows.Controls.Primitives.GeneratorPosition gp2);
static member ( = ) : System.Windows.Controls.Primitives.GeneratorPosition * System.Windows.Controls.Primitives.GeneratorPosition -> bool
Public Shared Operator == (gp1 As GeneratorPosition, gp2 As GeneratorPosition) As Boolean

参数

gp1
GeneratorPosition

要比较的第一个实例。

gp2
GeneratorPosition

要比较的第二个实例。

返回

如果两个对象相等,则为 true;否则为 false

注解

此运算符的等效方法是 GeneratorPosition.Equals

适用于