UrlPatternInit Class

Initialization dictionary for creating a URLPattern.

public sealed class UrlPatternInit

Constructors

NameDescription
UrlPatternInit()

UrlPatternInit()

public UrlPatternInit()

No documentation is available.

Properties

NameDescription
BaseUrlGets or sets the base URL to use for resolving relative patterns.
HashGets or sets the hash (fragment) pattern string.
HostnameGets or sets the hostname pattern string.
PasswordGets or sets the password pattern string.
PathnameGets or sets the pathname pattern string.
PortGets or sets the port pattern string.
ProtocolGets or sets the protocol pattern string.
SearchGets or sets the search (query) pattern string.
UsernameGets or sets the username pattern string.

Gets or sets the base URL to use for resolving relative patterns.

public string? BaseUrl { get; set; }

Property value

string?

Gets or sets the hash (fragment) pattern string.

public string? Hash { get; set; }

Property value

string?

Gets or sets the hostname pattern string.

public string? Hostname { get; set; }

Property value

string?

Gets or sets the password pattern string.

public string? Password { get; set; }

Property value

string?

Gets or sets the pathname pattern string.

public string? Pathname { get; set; }

Property value

string?

Gets or sets the port pattern string.

public string? Port { get; set; }

Property value

string?

Gets or sets the protocol pattern string.

public string? Protocol { get; set; }

Property value

string?

Gets or sets the username pattern string.

public string? Username { get; set; }

Property value

string?