Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

UriComponents Enumeration

Specifies the parts of a Uri.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  System
Assembly:  System (in System.dll)
[FlagsAttribute]
public enum UriComponents
Member nameDescription
Supported by Silverlight for Windows PhoneSupported by Xbox 360SchemeThe Scheme data.
Supported by Silverlight for Windows PhoneSupported by Xbox 360UserInfoThe UserInfo data.
Supported by Silverlight for Windows PhoneSupported by Xbox 360HostThe Host data.
Supported by Silverlight for Windows PhoneSupported by Xbox 360PortThe Port data.
Supported by Silverlight for Windows PhoneSupported by Xbox 360PathThe LocalPath data.
Supported by Silverlight for Windows PhoneSupported by Xbox 360QueryThe Query data.
Supported by Silverlight for Windows PhoneSupported by Xbox 360FragmentThe Fragment data.
Supported by Silverlight for Windows PhoneSupported by Xbox 360StrongPortThe 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.
Supported by Silverlight for Windows PhoneSupported by Xbox 360KeepDelimiterSpecifies that the delimiter should be included.
Supported by Silverlight for Windows PhoneSupported by Xbox 360SerializationInfoStringThe complete Uri context that is needed for Uri Serializers. The context includes the IPv6 scope.
Supported by Silverlight for Windows PhoneSupported by Xbox 360AbsoluteUriThe Scheme, UserInfo, Host, Port, LocalPath, Query, and Fragment data.
Supported by Silverlight for Windows PhoneSupported by Xbox 360HostAndPortThe 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.
Supported by Silverlight for Windows PhoneSupported by Xbox 360StrongAuthorityThe 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.
Supported by Silverlight for Windows PhoneSupported by Xbox 360SchemeAndServerThe Scheme, Host, and Port data.
Supported by Silverlight for Windows PhoneSupported by Xbox 360HttpRequestUrlThe Scheme, Host, Port, LocalPath, and Query data.
Supported by Silverlight for Windows PhoneSupported by Xbox 360PathAndQueryThe LocalPath and Query data.

This enumeration is used to identify the parts of a Uri. This enumeration is used with the Uri.GetComponents method.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Xbox 360, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.