Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

UriExtensions Class

Contains extension methods to allow strongly typed objects to be read from the query component of Uri instances.

System.Object
  System.Net.Http.UriExtensions

Namespace:  System.Net.Http
Assembly:  System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)

[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public static class UriExtensions

The UriExtensions type exposes the following members.

  NameDescription
Public methodStatic memberParseQueryStringParses the query portion of the specified URI.
Public methodStatic memberTryReadQueryAs(Uri, Type, Object)Reads HTML form URL encoded data provided in the URI query string as an object of a specified type.
Public methodStatic memberTryReadQueryAs<T>(Uri, T)Reads HTML form URL encoded data provided in the URI query string as an object of a specified type.
Public methodStatic memberTryReadQueryAsJsonReads HTML form URL encoded data provided in the Uri query component as a JObject object.
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft