Uri.FromParts(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.
Creates an opaque Uri from the given components.
[Android.Runtime.Register("fromParts", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Landroid/net/Uri;", "")]
public static Android.Net.Uri? FromParts (string? scheme, string? ssp, string? fragment);
[<Android.Runtime.Register("fromParts", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Landroid/net/Uri;", "")>]
static member FromParts : string * string * string -> Android.Net.Uri
Parameters
- scheme
- String
of the URI
- ssp
- String
scheme-specific-part, everything between the scheme separator (':') and the fragment separator ('#'), which will get encoded
- fragment
- String
fragment, everything after the '#', null if undefined, will get encoded
Returns
Uri composed of the given scheme, ssp, and fragment
- Attributes
Exceptions
if scheme or ssp is null
Remarks
Creates an opaque Uri from the given components. Encodes the ssp which means this method cannot be used to create hierarchical URIs.
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.