Compartilhar via


HostString.Equality(HostString, HostString) Operador

Definição

Compara as duas instâncias para verificar se são iguais.

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

Parâmetros

left
HostString

O parâmetro esquerdo.

right
HostString

O parâmetro direito.

Retornos

true se ambos HostStringtiverem o mesmo valor.

Aplica-se a