Dela via


HostString.Equality(HostString, HostString) Operator

Definition

Compares the two instances for equality.

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

Parameters

left
HostString

The left parameter.

right
HostString

The right parameter.

Returns

true if both HostString's have the same value.

Applies to