MediaTypeCollection Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A collection of media types.
public ref class MediaTypeCollection : System::Collections::ObjectModel::Collection<System::String ^>
public class MediaTypeCollection : System.Collections.ObjectModel.Collection<string>
type MediaTypeCollection = class
inherit Collection<string>
Public Class MediaTypeCollection
Inherits Collection(Of String)
- Inheritance
-
MediaTypeCollection
Constructors
MediaTypeCollection() |
Initializes a new instance of MediaTypeCollection. |
Methods
Add(MediaTypeHeaderValue) |
Adds an object to the end of the MediaTypeCollection. |
Insert(Int32, MediaTypeHeaderValue) |
Inserts an element into the MediaTypeCollection at the specified index. |
Remove(MediaTypeHeaderValue) |
Removes the first occurrence of a specific media type from the MediaTypeCollection. |
Applies to
Feedback
Submit and view feedback for