Compartilhar via


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

    Nome da interface para esta Web Part.

  • connectedInterfaceName
    Type: System.String

    Nome da interface para Web Part conectada.

Ver também

Referência

ListViewWebPart class

ListViewWebPart members

Microsoft.SharePoint.WebPartPages namespace