Specifies the parts of a Uri.
This enumeration is used to identify the parts of a Uri. This enumeration is used with the Uri.GetComponents(UriComponents, UriFormat) method.
Member Name | Description |
---|---|
AbsoluteUri |
The Uri.Scheme, Uri.UserInfo, Uri.Host, Uri.Port, Uri.LocalPath, Uri.Query, and Uri.Fragment data. |
Fragment |
The Uri.Fragment data. |
Host |
The Uri.Host data. |
HostAndPort |
The Uri.Host and Uri.Port data. If no port data is in the Uri and a default port has been assigned to the Uri.Scheme, the default port is returned. If there is no default port, -1 is returned. |
HttpRequestUrl |
The Uri.Scheme, Uri.Host, Uri.Port, Uri.LocalPath, and Uri.Query data. |
KeepDelimiter |
Specifies that the delimiter should be included. |
NormalizedHost |
The normalized form of the Uri.Host. |
Path |
The Uri.LocalPath data. |
PathAndQuery |
The Uri.LocalPath and Uri.Query data. Also see Uri.PathAndQuery. |
Port |
The Uri.Port data. |
Query |
The Uri.Query data. |
Scheme |
The Uri.Scheme data. |
SchemeAndServer |
The Uri.Scheme, Uri.Host, and Uri.Port data. |
SerializationInfoString |
The complete Uri context that is needed for Uri Serializers. The context includes the IPv6 scope. |
StrongAuthority |
The Uri.UserInfo, Uri.Host, and Uri.Port data. If no port data is in the Uri and a default port has been assigned to the Uri.Scheme, the default port is returned. If there is no default port, -1 is returned. |
StrongPort |
The Uri.Port data. If no port data is in the Uri and a default port has been assigned to the Uri.Scheme, the default port is returned. If there is no default port, -1 is returned. |
UserInfo |
The Uri.UserInfo data. |