FormatterMappings FormatterMappings FormatterMappings FormatterMappings Class

Definition

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
FormatterMappingsFormatterMappingsFormatterMappingsFormatterMappings

Constructors

FormatterMappings() FormatterMappings() FormatterMappings() FormatterMappings()

Methods

ClearMediaTypeMappingForFormat(String) ClearMediaTypeMappingForFormat(String) ClearMediaTypeMappingForFormat(String) ClearMediaTypeMappingForFormat(String)

Clears the media type mapping for the format.

GetMediaTypeMappingForFormat(String) GetMediaTypeMappingForFormat(String) GetMediaTypeMappingForFormat(String) GetMediaTypeMappingForFormat(String)

Gets the media type for the specified format.

SetMediaTypeMappingForFormat(String, MediaTypeHeaderValue) SetMediaTypeMappingForFormat(String, MediaTypeHeaderValue) SetMediaTypeMappingForFormat(String, MediaTypeHeaderValue) 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) SetMediaTypeMappingForFormat(String, String) SetMediaTypeMappingForFormat(String, String) 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.

Applies to