HostString.Host 屬性

定義

傳回值之主機部分的值。 如果埠存在,就會移除。 IPv6 位址會加上方括弧 (如果沒有的話)。

public:
 property System::String ^ Host { System::String ^ get(); };
public string Host { get; }
member this.Host : string
Public ReadOnly Property Host As String

屬性值

值的主機部分。

適用於