Share via


FormatterParameterBinding.Formatters Property

Gets or sets an enumerable object that represents the formatter for the parameter binding.

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

Syntax

'Declaration
Public Property Formatters As IEnumerable(Of MediaTypeFormatter)
    Get 
    Set
'Usage
Dim instance As FormatterParameterBinding 
Dim value As IEnumerable(Of MediaTypeFormatter)

value = instance.Formatters

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

Property Value

Type: System.Collections.Generic.IEnumerable<MediaTypeFormatter>
An enumerable object that represents the formatter for the parameter binding.

See Also

Reference

FormatterParameterBinding Class

System.Web.Http.ModelBinding Namespace