Partager via


InvalidModelStateResult.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>

The formatters to use to negotiate and format the content.

See Also

InvalidModelStateResult Class
System.Web.Http.Results Namespace

Return to top