UriComponents 列挙型
定義
Uri の各部分を指定します。Specifies the parts of a Uri.
この列挙体には FlagsAttribute 属性があり、そのメンバー値のビットごとの組み合わせが可能になります。
public enum class UriComponents
[System.Flags]
public enum UriComponents
[<System.Flags>]
type UriComponents =
Public Enum UriComponents
- 継承
- 属性
フィールド
AbsoluteUri | 127 | Scheme、UserInfo、Host、Port、LocalPath、Query、および Fragment のデータ。The Scheme, UserInfo, Host, Port, LocalPath, Query, and Fragment data. |
Fragment | 64 | |
Host | 4 | |
HostAndPort | 132 | Host および Port のデータ。The Host and Port data. URI 内にポート データがなく、既定のポートが Scheme に割り当てられている場合は、既定のポートが返されます。If no port data is in the Uri and a default port has been assigned to the Scheme, the default port is returned. 既定のポートがない場合は、-1 が返されます。If there is no default port, -1 is returned. |
HttpRequestUrl | 61 | Scheme、Host、Port、LocalPath、および Query のデータ。The Scheme, Host, Port, LocalPath, and Query data. |
KeepDelimiter | 1073741824 | 区切り記号を含めるように指定します。Specifies that the delimiter should be included. |
NormalizedHost | 256 | |
Path | 16 | |
PathAndQuery | 48 | LocalPath および Query のデータ。The LocalPath and Query data. 「PathAndQuery」も参照してください。Also see PathAndQuery. |
Port | 8 | |
Query | 32 | |
Scheme | 1 | |
SchemeAndServer | 13 | |
SerializationInfoString | -2147483648 | URI シリアライザーに必要な完全な Uri コンテキスト。The complete Uri context that is needed for Uri Serializers. コンテキストには、IPv6 スコープが含まれます。The context includes the IPv6 scope. |
StrongAuthority | 134 | UserInfo、Host、および Port のデータ。The UserInfo, Host, and Port data. Uri 内にポート データがなく、既定のポートが Scheme に割り当てられている場合は、既定のポートが返されます。If no port data is in the Uri and a default port has been assigned to the Scheme, the default port is returned. 既定のポートがない場合は、-1 が返されます。If there is no default port, -1 is returned. |
StrongPort | 128 | Port のデータ。The Port data. Uri 内にポート データがなく、既定のポートが Scheme に割り当てられている場合は、既定のポートが返されます。If no port data is in the Uri and a default port has been assigned to the Scheme, the default port is returned. 既定のポートがない場合は、-1 が返されます。If there is no default port, -1 is returned. |
UserInfo | 2 |
注釈
この列挙体は、の部分を識別するために使用され Uri ます。This enumeration is used to identify the parts of a Uri. この列挙体は、メソッドで使用され Uri.GetComponents ます。This enumeration is used with the Uri.GetComponents method.