Edit

Share via


EventLogEntry.Equals(EventLogEntry) Method

Definition

Performs a comparison between two event log entries.

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

Parameters

otherEntry
EventLogEntry

The EventLogEntry to compare.

Returns

true if the 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 EventLogEntry instances refer to the same object.

Applies to