Compartir a través de


HttpMethod.Equality(HttpMethod, HttpMethod) Operador

Definición

El operador de igualdad para comparar dos objetos 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 ( = ) : System.Net.Http.HttpMethod * System.Net.Http.HttpMethod -> bool
Public Shared Operator == (left As HttpMethod, right As HttpMethod) As Boolean

Parámetros

left
HttpMethod

La izquierda HttpMethod a un operador de igualdad.

right
HttpMethod

El HttpMethod derecho de un operador de igualdad.

Devoluciones

true si los parámetros left y right especificados son iguales; de lo contrario, false.

Se aplica a