URIUtils.CreateURI(String, String, Int32, String, String, String) Method
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.
Constructs a URI using all the parameters.
[Android.Runtime.Register("createURI", "(Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/net/URI;", "")]
public static Java.Net.URI? CreateURI (string? scheme, string? host, int port, string? path, string? query, string? fragment);
[<Android.Runtime.Register("createURI", "(Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/net/URI;", "")>]
static member CreateURI : string * string * int * string * string * string -> Java.Net.URI
Parameters
- scheme
- String
Scheme name
- host
- String
Host name
- port
- Int32
Port number
- path
- String
Path
- query
- String
Query
- fragment
- String
Fragment
Returns
- Attributes
Exceptions
If both a scheme and a path are given but the path is relative, if the URI string constructed from the given components violates RFC 2396, or if the authority component of the string is present but cannot be parsed as a server-based authority
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.