SimpleFormWebPart.PartCommunicationConnect Method
Notifies other Web Parts that this Web Part has a connected interface, where that interface should run, and what that interface is connected to.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Overrides Sub PartCommunicationConnect ( _
interfaceName As String, _
connectedPart As WebPart, _
connectedInterfaceName As String, _
runAt As ConnectionRunAt _
)
'Usage
Dim instance As SimpleFormWebPart
Dim interfaceName As String
Dim connectedPart As WebPart
Dim connectedInterfaceName As String
Dim runAt As ConnectionRunAt
instance.PartCommunicationConnect(interfaceName, _
connectedPart, connectedInterfaceName, _
runAt)
public override void PartCommunicationConnect(
string interfaceName,
WebPart connectedPart,
string connectedInterfaceName,
ConnectionRunAt runAt
)
Parameters
interfaceName
Type: System.StringName of interface for this Web Part.
connectedPart
Type: Microsoft.SharePoint.WebPartPages.WebPartReference to the Web Part to which this interface is connected.
connectedInterfaceName
Type: System.StringName of interface for connected Web Part.
runAt
Type: Microsoft.SharePoint.WebPartPages.Communication.ConnectionRunAtWhere the interface for this Web Part should run.