HostString.Equality(HostString, HostString) 操作员

定义

比较两个实例的相等性。

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

参数

left
HostString

左参数。

right
HostString

右参数。

返回

true 如果两者的 HostString值相同,则为 。

适用于