Method
Parse
static func Parse(text: string) -> Result<Uri, UriError>
Declaring type: Uri
Module: System
Assembly: System.Runtime.dll
Source file: Uri.rvn
Validates a relative or absolute URI reference without normalization.
Parameters
| Name | Type | Description |
|---|---|---|
text |
String | Escaped ASCII reference; empty text is a valid relative reference. |
Return value
Ok with Uri, or InvalidFormat, UnsupportedAuthority for bracketed forms, or TooLong.