SPWebPartManager.GetProviderConnectionPoints method
傳回可以做為從 Web 組件,做為內部 Web 組件連接提供者連接點的提供者連接點的集合。
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Overrides Function GetProviderConnectionPoints ( _
webPart As WebPart _
) As ProviderConnectionPointCollection
'用途
Dim instance As SPWebPartManager
Dim webPart As WebPart
Dim returnValue As ProviderConnectionPointCollection
returnValue = instance.GetProviderConnectionPoints(webPart)
public override ProviderConnectionPointCollection GetProviderConnectionPoints(
WebPart webPart
)
參數
webPart
Type: System.Web.UI.WebControls.WebParts.WebPart做為連接的提供者網頁組件。
傳回值
Type: System.Web.UI.WebControls.WebParts.ProviderConnectionPointCollection
ProviderConnectionPointCollection 包含提供者中的所有連接點。
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | webPart是a null reference (Nothing in Visual Basic) |
備註
這個覆寫擷取 [網頁組件的提供者連線。