共用方式為


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

適用於