MediaTypeFormatterCollection.AddRange Method (IEnumerable<MediaTypeFormatter>)

 

Adds the elements of the specified collection to the end of the MediaTypeFormatterCollection.

Namespace:   System.Net.Http.Formatting
Assembly:  System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)

Syntax

public void AddRange(
    IEnumerable<MediaTypeFormatter> items
)
public:
void AddRange(
    IEnumerable<MediaTypeFormatter^>^ items
)
member AddRange : 
        items:IEnumerable<MediaTypeFormatter> -> unit
Public Sub AddRange (
    items As IEnumerable(Of MediaTypeFormatter)
)

Parameters

See Also

MediaTypeFormatterCollection Class
System.Net.Http.Formatting Namespace

Return to top