UriComponents

UriComponents enum

Represents URI components.

enum class UriComponents

Values

NameValueDescription
Scheme1The Scheme data.
UserInfo2The UserInfo data.
Host4The Host data.
Port8The Port data.
SchemeAndServern/aThe Scheme, Host and Port data.
Path16The LocalPath data.
Query32The Query data.
PathAndQueryn/aThe LocalPath and Query data.
HttpRequestUrln/aThe Scheme, Host, Port, Query and LocalPath data.
Fragment64The Fragment data.
AbsoluteUrin/aThe Scheme, Host, Port, Quer, LocalPath and Fragment data.
StrongPort128The Port data; if the port data not present in the Uri and a default port has been assigned to the Scheme, the default port is returned; if there is no default port, -1 is returned.
HostAndPortn/aThe Host and Port data; if the port data is not present in the Uri and a default port has been assigned to the Scheme, the default port is returned. If there is no default port, -1 is returned.
StrongAuthorityn/aThe UserInfo, Host, and Port data.If no port data is in the Uri and a default port has been assigned to the Scheme, the default port is returned.If there is no default port, -1 is returned.
NormalizedHost256
KeepDelimiter1073741824Specifies that the delimiter should be included.
SerializationInfoStringn/aThe complete Uri context that is needed for Uri Serializers. The context includes the IPv6 scope.

See Also