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
。