IsWellFormedUriString Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Indicates whether the string is well-formed by attempting to construct a URI with the string and ensures that the string does not require further escaping.
Namespace: System
Assembly: System.Http (in System.Http.dll)
Parameters
- uriString
- Type: System..::..String
The string used to attempt to construct a Uri.
- uriKind
- Type: System..::..UriKind
The type of the Uri in uriString.
Return Value
Type: System..::..BooleanA Boolean value that is true if the string was well-formed; else false.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.
Show: