ModelValidatorProviderCollection.InsertItem 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將模型驗證程式提供者插入集合中。
protected override void InsertItem (int index, System.Web.Mvc.ModelValidatorProvider item);
override this.InsertItem : int * System.Web.Mvc.ModelValidatorProvider -> unit
Protected Overrides Sub InsertItem (index As Integer, item As ModelValidatorProvider)
參數
- index
- Int32
應在該處插入 item 之以零起始的索引。
要插入的模型驗證程式提供者物件。