ListViewWebPart.PartCommunicationConnect method
Notifica a outras Web Parts que esta Web Part possui uma interface conectada, qual interface deve ser executado, e o que essa interface está conectada.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaração
Public Overrides Sub PartCommunicationConnect ( _
interfaceName As String, _
connectedPart As WebPart, _
connectedInterfaceName As String, _
runAt As ConnectionRunAt _
)
'Uso
Dim instance As ListViewWebPart
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
)
Parâmetros
interfaceName
Type: System.StringNome da interface para esta Web Part.
connectedPart
Type: Microsoft.SharePoint.WebPartPages.WebPartReferência à parte da Web ao qual esta interface está conectada.
connectedInterfaceName
Type: System.StringNome da interface para Web Part conectada.
runAt
Type: Microsoft.SharePoint.WebPartPages.Communication.ConnectionRunAtOnde a interface para esta Web Part deve ser executado.