EventLogEntry.Equals(EventLogEntry) 方法

定义

在两个事件日志条目之间执行比较。

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

返回

如果对象相同,则为 />;否则为

注解

此方法对两个对象执行字节字节比较。 它不确定这两 EventLogEntry 个实例是否引用同一对象。

适用于