CounterSample.Equality(CounterSample, CounterSample) 演算子

定義

2 つの CounterSample 構造体が等しいかどうかを示す値を返します。Returns a value that indicates whether two CounterSample structures are equal.

public:
 static bool operator ==(System::Diagnostics::CounterSample a, System::Diagnostics::CounterSample b);
public:
 static bool operator ==(System::Diagnostics::CounterSample obj1, System::Diagnostics::CounterSample obj2);
public static bool operator == (System.Diagnostics.CounterSample a, System.Diagnostics.CounterSample b);
public static bool operator == (System.Diagnostics.CounterSample obj1, System.Diagnostics.CounterSample obj2);
static member ( = ) : System.Diagnostics.CounterSample * System.Diagnostics.CounterSample -> bool
static member ( = ) : System.Diagnostics.CounterSample * System.Diagnostics.CounterSample -> bool
Public Shared Operator == (a As CounterSample, b As CounterSample) As Boolean
Public Shared Operator == (obj1 As CounterSample, obj2 As CounterSample) As Boolean

パラメーター

aobj1
CounterSample

CounterSample 構造。A CounterSample structure.

bobj2
CounterSample

a パラメーターで指定された構造体と比較する別の CounterSample 構造体。Another CounterSample structure to be compared to the structure specified by the a parameter.

戻り値

Boolean

ab が等しい場合は true。それ以外の場合は falsetrue if a and b are equal; otherwise, false.

注釈

2つ CounterSample の構造体は、同じプロパティ値を持つ場合に等しくなります。Two CounterSample structures are equal if they have identical property values.

この演算子の同等のメソッドは CounterSample.Equals(CounterSample) です。The equivalent method for this operator is CounterSample.Equals(CounterSample).

適用対象