SPWebPartManager.GetConsumerConnectionPoints method

Returns the collection of consumer connection points that can act as connection points from a Web Part that is acting as a consumer inside a Web Parts connection.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Overrides Function GetConsumerConnectionPoints ( _
    webPart As WebPart _
) As ConsumerConnectionPointCollection
'Usage
Dim instance As SPWebPartManager
Dim webPart As WebPart
Dim returnValue As ConsumerConnectionPointCollection

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

Parameters

Return value

Type: System.Web.UI.WebControls.WebParts.ConsumerConnectionPointCollection
The ConsumerConnectionPointCollection that contains all of the connection points in the consumer.

Exceptions

Exception Condition
ArgumentNullException

webPart is a null reference (Nothing in Visual Basic).

Remarks

This override retrieves the consumer connection points for the Web Parts.

See also

Reference

SPWebPartManager class

SPWebPartManager members

Microsoft.SharePoint.WebPartPages namespace