UriComponents Sabit listesi
Tanım
Bir öğesinin bölümlerini belirtir Uri .Specifies the parts of a Uri.
Bu sabit listesi, üye değerleri için bit düzeyinde karşılaştırmaya izin veren bir FlagsAttribute özniteliği içeriyor.
public enum class UriComponents
[System.Flags]
public enum UriComponents
[<System.Flags>]
type UriComponents =
Public Enum UriComponents
- Devralma
- Öznitelikler
Alanlar
AbsoluteUri | 127 | ,,,,, Scheme UserInfo Host Port LocalPath Query Ve Fragment verileri.The Scheme, UserInfo, Host, Port, LocalPath, Query, and Fragment data. |
Fragment | 64 | |
Host | 4 | |
HostAndPort | 132 | HostVe Port verileri.The Host and Port data. URI 'de bir bağlantı noktası verisi yoksa ve varsayılan bağlantı noktası öğesine atanmışsa, Scheme varsayılan bağlantı noktası döndürülür.If no port data is in the Uri and a default port has been assigned to the Scheme, the default port is returned. Varsayılan bağlantı noktası yoksa-1 döndürülür.If there is no default port, -1 is returned. |
HttpRequestUrl | 61 | Scheme,, Host , Port LocalPath Ve Query verileri.The Scheme, Host, Port, LocalPath, and Query data. |
KeepDelimiter | 1073741824 | Sınırlandırıcının dahil edileceğini belirtir.Specifies that the delimiter should be included. |
NormalizedHost | 256 | Öğesinin normalleştirilmiş biçimi Host .The normalized form of the Host. |
Path | 16 | |
PathAndQuery | 48 | LocalPathVe Query verileri.The LocalPath and Query data. Ayrıca bkz PathAndQuery ..Also see PathAndQuery. |
Port | 8 | |
Query | 32 | |
Scheme | 1 | |
SchemeAndServer | 13 | Scheme, Host Ve Port verileri.The Scheme, Host, and Port data. |
SerializationInfoString | -2147483648 | UriURI serileştiricileri için gereken tüm bağlam.The complete Uri context that is needed for Uri Serializers. Bağlam IPv6 kapsamını içerir.The context includes the IPv6 scope. |
StrongAuthority | 134 | UserInfo, Host Ve Port verileri.The UserInfo, Host, and Port data. Üzerinde bağlantı noktası verisi yoksa Uri ve varsayılan bağlantı noktası öğesine atanmışsa, Scheme varsayılan bağlantı noktası döndürülür.If no port data is in the Uri and a default port has been assigned to the Scheme, the default port is returned. Varsayılan bağlantı noktası yoksa-1 döndürülür.If there is no default port, -1 is returned. |
StrongPort | 128 | PortVeri.The Port data. Üzerinde bağlantı noktası verisi yoksa Uri ve varsayılan bağlantı noktası öğesine atanmışsa, Scheme varsayılan bağlantı noktası döndürülür.If no port data is in the Uri and a default port has been assigned to the Scheme, the default port is returned. Varsayılan bağlantı noktası yoksa-1 döndürülür.If there is no default port, -1 is returned. |
UserInfo | 2 |
Açıklamalar
Bu numaralandırma, bir öğesinin parçalarını tanımlamak için kullanılır Uri .This enumeration is used to identify the parts of a Uri. Bu numaralandırma, yöntemiyle birlikte kullanılır Uri.GetComponents .This enumeration is used with the Uri.GetComponents method.