C# Uri GetComponents
Description
Uri GetComponents
gets the specified components of the
current instance using the specified escaping for special characters.
Syntax
Uri.GetComponents
has the following syntax.
public string GetComponents(
UriComponents components,
UriFormat format
)
Parameters
Uri.GetComponents
has the following parameters.
components
- A bitwise combination of the UriComponents values that specifies which parts of the current instance to return to the caller.format
- One of the UriFormat values that controls how special characters are escaped.
Returns
Uri.GetComponents
method returns A String that contains the components.