Freigeben über


HostString.Equality(HostString, HostString) Operator

Definition

Vergleicht zwei Instanzen auf Gleichheit.

public:
 static bool operator ==(Microsoft::AspNetCore::Http::HostString left, Microsoft::AspNetCore::Http::HostString right);
public static bool operator == (Microsoft.AspNetCore.Http.HostString left, Microsoft.AspNetCore.Http.HostString right);
static member ( = ) : Microsoft.AspNetCore.Http.HostString * Microsoft.AspNetCore.Http.HostString -> bool
Public Shared Operator == (left As HostString, right As HostString) As Boolean

Parameter

left
HostString

Der linke Parameter.

right
HostString

Der rechte Parameter.

Gibt zurück

true , wenn beide HostStringden gleichen Wert haben.

Gilt für: