UriExtensions Class

UriExtensions Class

 

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

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

System.Object
  System.Net.Http.UriExtensions

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

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticParseQueryString(Uri)

Parses the query portion of the specified URI.

System_CAPS_pubmethodSystem_CAPS_staticTryReadQueryAs(Uri, Type, Object)

Reads HTML form URL encoded data provided in the URI query string as an object of a specified type.

System_CAPS_pubmethodSystem_CAPS_staticTryReadQueryAs<T>(Uri, T)

Reads HTML form URL encoded data provided in the URI query string as an object of a specified type.

System_CAPS_pubmethodSystem_CAPS_staticTryReadQueryAsJson(Uri, JObject)

Reads HTML form URL encoded data provided in the Uri query component as a JObject object.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft