共用方式為


HttpMethod.Inequality(HttpMethod, HttpMethod) 運算子

定義

用來比較兩個 HttpMethod 物件的不等比較運算子。

public:
 static bool operator !=(System::Net::Http::HttpMethod ^ left, System::Net::Http::HttpMethod ^ right);
public static bool operator != (System.Net.Http.HttpMethod left, System.Net.Http.HttpMethod right);
public static bool operator != (System.Net.Http.HttpMethod? left, System.Net.Http.HttpMethod? right);
static member op_Inequality : System.Net.Http.HttpMethod * System.Net.Http.HttpMethod -> bool
Public Shared Operator != (left As HttpMethod, right As HttpMethod) As Boolean

參數

left
HttpMethod

不等比較運算子左邊的 HttpMethod

right
HttpMethod

不相等運算子右邊 HttpMethod

傳回

如果指定的 leftright 參數不相等,則為 true,否則為 false

適用於