MediaTypeCollection 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
媒体类型的集合。
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)
- 继承
-
MediaTypeCollection
构造函数
MediaTypeCollection() |
初始化 MediaTypeCollection 的新实例。 |
方法
Add(MediaTypeHeaderValue) |
将对象添加到 MediaTypeCollection 的结尾处。 |
Insert(Int32, MediaTypeHeaderValue) |
将元素插入 MediaTypeCollection 的指定索引处。 |
Remove(MediaTypeHeaderValue) |
从中删除特定媒体类型的 MediaTypeCollection第一个匹配项。 |