Sdílet prostřednictvím


HttpMethod.Equality(HttpMethod, HttpMethod) Operátor

Definice

Operátor rovnosti pro porovnání dvou HttpMethod objektů.

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

Parametry

left
HttpMethod

Doleva HttpMethod operátoru rovnosti.

right
HttpMethod

Právo HttpMethod na operátor rovnosti.

Návraty

truepokud jsou zadané left parametry a right stejné, v opačném případě . false

Platí pro