UrlRouteContext.Host 属性

定义

生成的 URL RouteUrl(UrlRouteContext) 的主机名。

public:
 property System::String ^ Host { System::String ^ get(); void set(System::String ^ value); };
public string Host { get; set; }
public string? Host { get; set; }
member this.Host : string with get, set
Public Property Host As String

属性值

适用于