FormatterMappings Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Used to specify mapping between the URL Format and corresponding media type.
public ref class FormatterMappings
public class FormatterMappings
type FormatterMappings = class
Public Class FormatterMappings
- Inheritance
-
FormatterMappings
Constructors
FormatterMappings() |
Methods
ClearMediaTypeMappingForFormat(String) |
Clears the media type mapping for the format. |
GetMediaTypeMappingForFormat(String) |
Gets the media type for the specified format. |
SetMediaTypeMappingForFormat(String, MediaTypeHeaderValue) |
Sets mapping for the format to specified media type. If the format already exists, the media type will be overwritten with the new value. |
SetMediaTypeMappingForFormat(String, String) |
Sets mapping for the format to specified media type. If the format already exists, the media type will be overwritten with the new value. |