Edit

Share via


HttpMethod.Inequality(HttpMethod, HttpMethod) Operator

Definition

The inequality operator for comparing two HttpMethod objects.

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

Parameters

left
HttpMethod

The left HttpMethod to an inequality operator.

right
HttpMethod

The right HttpMethod to an inequality operator.

Returns

true if the specified left and right parameters are inequal; otherwise, false.

Applies to