HttpRequest.Host 属性

定义

获取或设置 Host 标头。 可以包含端口。

public:
 abstract property Microsoft::AspNetCore::Http::HostString Host { Microsoft::AspNetCore::Http::HostString get(); void set(Microsoft::AspNetCore::Http::HostString value); };
public abstract Microsoft.AspNetCore.Http.HostString Host { get; set; }
member this.Host : Microsoft.AspNetCore.Http.HostString with get, set
Public MustOverride Property Host As HostString

属性值

适用于