Export (0) Print
Expand All

MediaTypeFormatterExtensions.AddUriPathExtensionMapping Method

Updates the given formatter's set of MediaTypeMapping elements so that it associates the mediaType with Uris ending with the given uriPathExtension.

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

  Name Description
Public method Static member AddUriPathExtensionMapping(MediaTypeFormatter, String, MediaTypeHeaderValue) Updates the given formatter's set of MediaTypeMapping elements so that it associates the mediaType with Uris ending with the given uriPathExtension.
Public method Static member AddUriPathExtensionMapping(MediaTypeFormatter, String, String) Updates the given formatter's set of MediaTypeMapping elements so that it associates the mediaType with Uris ending with the given uriPathExtension.
Top
Show:
© 2014 Microsoft