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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.