Επεξεργασία

Κοινή χρήση μέσω


HttpMethod.Equality(HttpMethod, HttpMethod) Operator

Definition

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