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
items
Type: System.Collections.Generic.IEnumerable<MediaTypeFormatter>The items that should be added to the end of the MediaTypeFormatterCollection. The items collection itself cannot be null, but it can contain elements that are null.
See Also
MediaTypeFormatterCollection Class
System.Net.Http.Formatting Namespace
Return to top