EventLogEntry.Equals Method (EventLogEntry)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Performs a comparison between two event log entries.

Namespace:   System.Diagnostics
Assembly:  System (in System.dll)

public bool Equals(
	EventLogEntry otherEntry


Type: System.Diagnostics.EventLogEntry

The EventLogEntry to compare.

Return Value

Type: System.Boolean

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

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.

.NET Framework
Available since 1.1
Return to top