共用方式為


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

適用於