Share via


MediaTypeFormatterExtensions.AddQueryStringMapping Method

Include Protected Members
Include Inherited Members

Updates the given set of formatter of MediaTypeMapping elements so that it associates the mediaType with Uris containing a specific query parameter and value.

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 AddQueryStringMapping(MediaTypeFormatter, String, String, MediaTypeHeaderValue) Updates the given set of formatter of MediaTypeMapping elements so that it associates the mediaType with Uris containing a specific query parameter and value.
Public methodStatic member AddQueryStringMapping(MediaTypeFormatter, String, String, String) Updates the given set of formatter of MediaTypeMapping elements so that it associates the mediaType with Uris containing a specific query parameter and value.

Top

See Also

Reference

MediaTypeFormatterExtensions Class

System.Net.Http.Formatting Namespace