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

适用于