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.String

    Name of interface for this Web Part.

  • connectedInterfaceName
    Type: System.String

    Name of interface for connected Web Part.

See Also

Reference

SimpleFormWebPart Class

SimpleFormWebPart Members

Microsoft.SharePoint.WebPartPages Namespace