EventId.Inequality(EventId, EventId) 运算符

定义

检查两个指定的 EventId 实例是否具有不同的值。

public:
 static bool operator !=(Microsoft::Extensions::Logging::EventId left, Microsoft::Extensions::Logging::EventId right);
public static bool operator != (Microsoft.Extensions.Logging.EventId left, Microsoft.Extensions.Logging.EventId right);
static member op_Inequality : Microsoft.Extensions.Logging.EventId * Microsoft.Extensions.Logging.EventId -> bool
Public Shared Operator != (left As EventId, right As EventId) As Boolean

参数

left
EventId

第一个 EventId

right
EventId

第二个 EventId

返回

如果对象不相等,则为 true

适用于