共用方式為


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

屬性值

適用於