UrlPatternResult Class
The result of UrlPattern.Exec (https://urlpattern.spec.whatwg.org/#dictdef-urlpatternresult).
public sealed class UrlPatternResultConstructors
| Name | Description |
|---|---|
| UrlPatternResult() |
UrlPatternResult()
- Obsolete: Constructors of types with required members are not supported in this version of your compiler.
[Obsolete("Constructors of types with required members are not supported in this version of your compiler.", true)]
public UrlPatternResult()No documentation is available.
Properties
| Name | Description |
|---|---|
| Hash | Gets the match of the hash component. |
| Hostname | Gets the match of the hostname component. |
| Inputs | The inputs of the match: the URL or UrlPatternInit, followed by the base URL if any. |
| Password | Gets the match of the password component. |
| Pathname | Gets the match of the pathname component. |
| Port | Gets the match of the port component. |
| Protocol | Gets the match of the protocol component. |
| Search | Gets the match of the search component. |
| Username | Gets the match of the username component. |
Hash
UrlPattern.csGets the match of the hash component.
public required UrlPatternComponentResult Hash { get; init; }Property value
See also
Hostname
UrlPattern.csGets the match of the hostname component.
public required UrlPatternComponentResult Hostname { get; init; }Inputs
UrlPattern.csThe inputs of the match: the URL or UrlPatternInit, followed by the base URL if any.
public required IReadOnlyList<UrlPatternInput> Inputs { get; init; }Password
UrlPattern.csGets the match of the password component.
public required UrlPatternComponentResult Password { get; init; }Pathname
UrlPattern.csGets the match of the pathname component.
public required UrlPatternComponentResult Pathname { get; init; }Port
UrlPattern.csGets the match of the port component.
public required UrlPatternComponentResult Port { get; init; }Property value
See also
Protocol
UrlPattern.csGets the match of the protocol component.
public required UrlPatternComponentResult Protocol { get; init; }Search
UrlPattern.csGets the match of the search component.
public required UrlPatternComponentResult Search { get; init; }Property value
See also
Username
UrlPattern.csGets the match of the username component.
public required UrlPatternComponentResult Username { get; init; }