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.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
public override ConsumerConnectionPointCollection GetConsumerConnectionPoints( WebPart webPart )
Parameters
- webPart
- Type: System.Web.UI.WebControls.WebParts.WebPart
A Web Part that is acting as a consumer in a connection.
Return Value
Type: System.Web.UI.WebControls.WebParts.ConsumerConnectionPointCollectionThe ConsumerConnectionPointCollection that contains all of the connection points in the consumer.
| Exception | Condition |
|---|---|
| ArgumentNullException |
webPart is null. |