build
Description:
[ Version ( since = "2.66" ) ]
public static Uri build (UriFlags flags, string scheme, string? userinfo, string? host, int port, string path, string? query, string? fragment)
public static Uri build (UriFlags flags, string scheme, string? userinfo, string? host, int port, string path, string? query, string? fragment)
Creates a new Uri from the given components according to flags
.
See also build_with_user, which allows specifying the components of the "userinfo" separately.
Parameters:
flags |
flags describing how to build the Uri |
scheme |
the URI scheme |
userinfo |
the userinfo component, or null |
host |
the host component, or null |
port |
the port, or `-1` |
path |
the path component |
query |
the query component, or null |
fragment |
the fragment, or null |
Returns:
a new Uri |