Partager via


BadRequestErrorMessageResult.Formatters Property

 

Gets the formatters to use to negotiate and format the content.

Namespace:   System.Web.Http.Results
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

public IEnumerable<MediaTypeFormatter> Formatters { get; }
public:
property IEnumerable<MediaTypeFormatter^>^ Formatters {
    IEnumerable<MediaTypeFormatter^>^ get();
}
member Formatters : IEnumerable<MediaTypeFormatter> with get
Public ReadOnly Property Formatters As IEnumerable(Of MediaTypeFormatter)

Property Value

Type: System.Collections.Generic.IEnumerable<MediaTypeFormatter>

Returns IEnumerable<T>.

See Also

BadRequestErrorMessageResult Class
System.Web.Http.Results Namespace

Return to top