Uri.Port プロパティ

定義

この Uri インスタンスに格納されている Uniform Resource Identifier (URI) のポート番号コンポーネント 取得します

public:
 property int Port { int get(); };
int Port();
public int Port { get; }
var int32 = uri.port;
Public ReadOnly Property Port As Integer

プロパティ値

Int32

int

ポート番号。

注釈

このプロパティは、スキームの暗黙的な既定値 (http: の場合は 80 など) を報告します。

適用対象