Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Notifies the ListFormWebPart that it has been connected to another Web Part.
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 ListFormWebPart
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.StringThe name of the interface on the ListFormWebPart that is being connected.
connectedPart
Type: Microsoft.SharePoint.WebPartPages.WebPartThe Web Part to which the ListFormWebPart is connected.
connectedInterfaceName
Type: System.StringThe name of the interface on another Web Part to which this ListFormWebPart is connected.
runAt
Type: Microsoft.SharePoint.WebPartPages.Communication.ConnectionRunAtOne of the enumeration values that indicates where the interface on the ListFormWebPart should run.
Remarks
This override throws an exception if the specified interface cannot be found.