System.Diagnostics.EventLogEntry.Equals Method

Performs a comparison between two event log entries.

Syntax

public bool Equals (EventLogEntry otherEntry)

Parameters

otherEntry
The System.Diagnostics.EventLogEntry to compare.

Returns

true if the System.Diagnostics.EventLogEntry objects are identical; otherwise, false.

Remarks

This method performs a byte-by-byte comparison between the two objects. It does not determine whether the two System.Diagnostics.EventLogEntry instances refer to the same object.

Requirements

Namespace: System.Diagnostics
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0