SPWebPartConnectionCollection.Insert 方法
指定的SPWebPartConnection插入SPWebPartConnectionCollection中指定索引处。
命名空间: Microsoft.SharePoint.WebPartPages
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Sub Insert ( _
index As Integer, _
value As SPWebPartConnection _
)
用法
Dim instance As SPWebPartConnectionCollection
Dim index As Integer
Dim value As SPWebPartConnection
instance.Insert(index, value)
public void Insert(
int index,
SPWebPartConnection value
)
参数
index
类型:System.Int32在其中插入SPWebPartConnection从零开始的索引
value
类型:Microsoft.SharePoint.WebPartPages.SPWebPartConnectionSPWebPartConnectionSPWebPartConnectionCollection中插入。
备注
使用此方法在SPWebPartConnectionCollection集合中指定索引处插入指定的SPWebPartConnection对象。作为替代方法,您可以使用Add方法向SPWebPartConnectionCollection集合的末尾追加SPWebPartConnection 。
另请参阅
引用
SPWebPartConnectionCollection 类