HostString.Equality(HostString, HostString) 操作员
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
比较两个实例的相等性。
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值相同,则为 。