FormatterMappings Klasa

Definicja

Służy do określania mapowania między formatem adresu URL a odpowiednim typem nośnika.

public ref class FormatterMappings
public class FormatterMappings
type FormatterMappings = class
Public Class FormatterMappings
Dziedziczenie
FormatterMappings

Konstruktory

FormatterMappings()

Służy do określania mapowania między formatem adresu URL a odpowiednim typem nośnika.

Metody

ClearMediaTypeMappingForFormat(String)

Czyści mapowanie typu nośnika dla formatu.

GetMediaTypeMappingForFormat(String)

Pobiera typ nośnika dla określonego formatu.

SetMediaTypeMappingForFormat(String, MediaTypeHeaderValue)

Ustawia mapowanie formatu na określony typ nośnika. Jeśli format już istnieje, typ nośnika zostanie zastąpiony nową wartością.

SetMediaTypeMappingForFormat(String, String)

Ustawia mapowanie formatu na określony typ nośnika. Jeśli format już istnieje, typ nośnika zostanie zastąpiony nową wartością.

Dotyczy