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

属性值

适用于