共用方式為


MvcOptions.FormatterMappings 屬性

定義

用來指定 URL 格式與對應媒體類型之間的對應。

public:
 property Microsoft::AspNetCore::Mvc::Formatters::FormatterMappings ^ FormatterMappings { Microsoft::AspNetCore::Mvc::Formatters::FormatterMappings ^ get(); };
public Microsoft.AspNetCore.Mvc.Formatters.FormatterMappings FormatterMappings { get; }
member this.FormatterMappings : Microsoft.AspNetCore.Mvc.Formatters.FormatterMappings
Public ReadOnly Property FormatterMappings As FormatterMappings

屬性值

適用於