共用方式為


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

適用於