HttpMethod.Inequality(HttpMethod, HttpMethod) 運算子
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
用來比較兩個 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 。
傳回
如果指定的 left
和 right
參數不相等,則為 true
,否則為 false
。