HttpMethod.Equality(HttpMethod, HttpMethod) Operator

Definition

Der Gleichheitsoperator zum Vergleichen zweier HttpMethod-Objekte.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);
static member ( = ) : System.Net.Http.HttpMethod * System.Net.Http.HttpMethod -> bool
Public Shared Operator == (left As HttpMethod, right As HttpMethod) As Boolean

Parameter

left
HttpMethod

Die linke HttpMethod für einen Ungleichheitsoperator.The left HttpMethod to an equality operator.

right
HttpMethod

Die rechte HttpMethod für einen Ungleichheitsoperator.The right HttpMethod to an equality operator.

Gibt zurück

true, wenn die angegebenen Parameter left und right gleich sind, andernfalls false.true if the specified left and right parameters are equal; otherwise, false.

Gilt für: