SyncList<TListType>.InsertItem 方法

此 API 支持 .NET Framework 基础结构,不适合在代码中直接使用。

在列表中的指定索引处插入该元素。

命名空间:  Microsoft.Reporting.WebForms
程序集:  Microsoft.ReportViewer.WebForms(在 Microsoft.ReportViewer.WebForms.dll 中)

语法

声明
Protected Overrides Sub InsertItem ( _
    index As Integer, _
    item As TListType _
)
protected override void InsertItem(
    int index,
    TListType item
)
protected:
virtual void InsertItem(
    int index, 
    TListType item
) override
abstract InsertItem : 
        index:int * 
        item:'TListType -> unit 
override InsertItem : 
        index:int * 
        item:'TListType -> unit 
protected override function InsertItem(
    index : int, 
    item : TListType
)

参数

  • index
    类型:Int32
    应插入 item 的从零开始的索引。
  • item
    类型:TListType
    要插入的对象。

请参阅

参考

SyncList<TListType> 类

Microsoft.Reporting.WebForms 命名空间