ListFormWebPart.PartCommunicationConnect method
告知ListFormWebPart它已連接到另一個網頁組件。
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Overrides Sub PartCommunicationConnect ( _
interfaceName As String, _
connectedPart As WebPart, _
connectedInterfaceName As String, _
runAt As ConnectionRunAt _
)
'用途
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
)
參數
interfaceName
Type: System.String正在連接ListFormWebPart上的介面名稱。
connectedPart
Type: Microsoft.SharePoint.WebPartPages.WebPartListFormWebPart連接 「 網頁組件。
connectedInterfaceName
Type: System.String在此ListFormWebPart所連接的另一個網頁組件上的介面名稱。
runAt
Type: Microsoft.SharePoint.WebPartPages.Communication.ConnectionRunAt其中一個列舉值,指出應該在何處執行ListFormWebPart上的介面。
備註
如果找不到指定的介面,則這個覆寫會擲回例外狀況。