SPWebPartManager.GetConsumerConnectionPoints 方法

返回可用作从充当内的 Web 部件连接的使用者 Web 部件的连接点的使用者连接点的集合。

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

语法

声明
Public Overrides Function GetConsumerConnectionPoints ( _
    webPart As WebPart _
) As ConsumerConnectionPointCollection
用法
Dim instance As SPWebPartManager
Dim webPart As WebPart
Dim returnValue As ConsumerConnectionPointCollection

returnValue = instance.GetConsumerConnectionPoints(webPart)
public override ConsumerConnectionPointCollection GetConsumerConnectionPoints(
    WebPart webPart
)

参数

返回值

类型:System.Web.UI.WebControls.WebParts.ConsumerConnectionPointCollection
包含在使用者连接点的所有ConsumerConnectionPointCollection

异常

异常 条件
ArgumentNullException

webPart是空引用(无 在 Visual Basic 中)。

备注

此重写检索 Web 部件的使用者连接点。

另请参阅

引用

SPWebPartManager 类

SPWebPartManager 成员

Microsoft.SharePoint.WebPartPages 命名空间