Share via


HostString.Port 屬性

定義

傳回主機埠部分的值,如果找不到任何埠部分,則傳回 null 。

public:
 property Nullable<int> Port { Nullable<int> get(); };
public int? Port { get; }
member this.Port : Nullable<int>
Public ReadOnly Property Port As Nullable(Of Integer)

屬性值

值的埠部分。

適用於