UriComponents Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the parts of a Uri.
This enumeration supports a bitwise combination of its member values.
public enum class UriComponents
[System.Flags]
public enum UriComponents
[<System.Flags>]
type UriComponents =
Public Enum UriComponents
- Inheritance
- Attributes
Fields
AbsoluteUri | 127 | The Scheme, UserInfo, Host, Port, LocalPath, Query, and Fragment data. |
Fragment | 64 | The Fragment data. |
Host | 4 | The Host data. |
HostAndPort | 132 | The 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. |
HttpRequestUrl | 61 | |
KeepDelimiter | 1073741824 | Specifies that the delimiter should be included. |
NormalizedHost | 256 | The normalized form of the Host. |
Path | 16 | The LocalPath data. |
PathAndQuery | 48 | The LocalPath and Query data. Also see PathAndQuery. |
Port | 8 | The Port data. |
Query | 32 | The Query data. |
Scheme | 1 | The Scheme data. |
SchemeAndServer | 13 | |
SerializationInfoString | -2147483648 | The complete Uri context that is needed for Uri Serializers. The context includes the IPv6 scope. |
StrongAuthority | 134 | The 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. |
StrongPort | 128 | The 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. |
UserInfo | 2 | The UserInfo data. |
Remarks
This enumeration is used to identify the parts of a Uri. This enumeration is used with the Uri.GetComponents method.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기