共用方式為


DataFormConsumerConnectionPoint class

表示主控的網頁組件不會提供資料列,或使用 [網頁組件參數時,會自行停用的連接點。

Inheritance hierarchy

System.Object
  System.Web.UI.WebControls.WebParts.ConnectionPoint
    System.Web.UI.WebControls.WebParts.ConsumerConnectionPoint
      Microsoft.SharePoint.WebPartPages.DataFormConsumerConnectionPoint

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public NotInheritable Class DataFormConsumerConnectionPoint _
    Inherits ConsumerConnectionPoint
'用途
Dim instance As DataFormConsumerConnectionPoint
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public sealed class DataFormConsumerConnectionPoint : ConsumerConnectionPoint

備註

用來條件式地啟用DataFormWebPart控制項的連接介面。覆寫上會影響到這個連接點的行為DataFormWebPartShouldConsumeParameters虛擬方法。

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

請參閱

參照

DataFormConsumerConnectionPoint members

Microsoft.SharePoint.WebPartPages namespace