HttpMethod.Equality(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 ( = ) : 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
。