Share via


QueryString.FromUriComponent Method

Provides the query string escaped in a way which is correct for combining into the URI representation. A leading '?' character will be prepended unless the Value is null or empty. Characters which are potentally dangerous are escaped.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodStatic member FromUriComponent(String) Returns a PathString given the path as it is escaped in the URI format. The string MUST NOT contain any value that is not a path.
Public methodStatic member FromUriComponent(Uri) Returns a PathString given the path as from a Uri object. Relative Uri objects are not supported.

Top

See Also

Reference

QueryString Structure

Microsoft.Owin Namespace