ModelBinderProviderCollection 类

定义

这里不会更新任何内容;请不要在这里添加材料。

public class ModelBinderProviderCollection : System.Collections.ObjectModel.Collection<System.Web.Mvc.IModelBinderProvider>
type ModelBinderProviderCollection = class
    inherit Collection<IModelBinderProvider>
Public Class ModelBinderProviderCollection
Inherits Collection(Of IModelBinderProvider)
继承
ModelBinderProviderCollection

构造函数

ModelBinderProviderCollection()

初始化 ModelBinderProviderCollection 类的新实例。

ModelBinderProviderCollection(IList<IModelBinderProvider>)

使用模型绑定器提供程序的列表初始化 类的新实例 ModelBinderProviderCollection

方法

ClearItems()

从集合中删除所有元素。

GetBinder(Type)

返回指定类型的模型联编程序。

InsertItem(Int32, IModelBinderProvider)

将模型联编程序提供程序插入指定索引处的 ModelBinderProviderCollection 中。

RemoveItem(Int32)

删除集合中指定索引处的元素。

SetItem(Int32, IModelBinderProvider)

替换指定索引处的模型联编程序提供程序元素。

适用于