EventLogEntry.Equals(EventLogEntry) メソッド

定義

2 つのイベント ログ エントリ間の比較を実行します。

public:
 bool Equals(System::Diagnostics::EventLogEntry ^ otherEntry);
public bool Equals(System.Diagnostics.EventLogEntry? otherEntry);
public bool Equals(System.Diagnostics.EventLogEntry otherEntry);
override this.Equals : System.Diagnostics.EventLogEntry -> bool
Public Function Equals (otherEntry As EventLogEntry) As Boolean

パラメーター

otherEntry
EventLogEntry

比較対象の EventLogEntry

返品

true EventLogEntry オブジェクトが同一の場合は。それ以外の場合はfalse

注釈

このメソッドは、2 つのオブジェクト間でバイト単位の比較を実行します。 2 つの EventLogEntry インスタンスが同じオブジェクトを参照しているかどうかは判断されません。

適用対象