GeneratorPosition.Inequality(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 op_Inequality : 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

要比较的第二个实例。

返回

Boolean

如果两个值不相等,则为 true;否则为 false

注解

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

适用于