HttpMethod.Equality(HttpMethod, HttpMethod) Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The equality 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 ( = ) : 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 equality operator.
- right
- HttpMethod
The right HttpMethod to an equality operator.
Returns
true
if the specified left
and right
parameters are equal; otherwise, false
.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.