Partager via


ApiDescription.SupportedRequestBodyFormatters Property

Gets the supported request body formatters.

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

Syntax

'Declaration
Public Property SupportedRequestBodyFormatters As Collection(Of MediaTypeFormatter)
    Get 
    Friend Set
'Usage
Dim instance As ApiDescription 
Dim value As Collection(Of MediaTypeFormatter)

value = instance.SupportedRequestBodyFormatters
public Collection<MediaTypeFormatter> SupportedRequestBodyFormatters { get; internal set; }
public:
property Collection<MediaTypeFormatter^>^ SupportedRequestBodyFormatters {
    Collection<MediaTypeFormatter^>^ get ();
    internal: void set (Collection<MediaTypeFormatter^>^ value);
}
member SupportedRequestBodyFormatters : Collection<MediaTypeFormatter> with get, internal set
function get SupportedRequestBodyFormatters () : Collection<MediaTypeFormatter>
internal function set SupportedRequestBodyFormatters (value : Collection<MediaTypeFormatter>)

Property Value

Type: System.Collections.ObjectModel.Collection<MediaTypeFormatter>

See Also

Reference

ApiDescription Class

System.Web.Http.Description Namespace