SPWebPartConnectionCollection.Add 方法

向SPWebPartConnectionCollectionSPWebPartConnection

命名空间:  Microsoft.SharePoint.WebPartPages
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public Function Add ( _
    value As SPWebPartConnection _
) As Integer
用法
Dim instance As SPWebPartConnectionCollection
Dim value As SPWebPartConnection
Dim returnValue As Integer

returnValue = instance.Add(value)
public int Add(
    SPWebPartConnection value
)

参数

返回值

类型:System.Int32
SPWebPartConnection 已添加的索引。

备注

SPWebPartConnection将添加到SPWebPartConnectionCollection的末尾。若要添加的特定位置SPWebPartConnection ,使用- Insert方法。

另请参阅

引用

SPWebPartConnectionCollection 类

SPWebPartConnectionCollection 成员

Microsoft.SharePoint.WebPartPages 命名空间