Partager via


ApiDescription.SupportedResponseFormatters Property

Gets the supported response formatters.

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

Syntax

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

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

Property Value

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

See Also

Reference

ApiDescription Class

System.Web.Http.Description Namespace