DataFormWebPart.IConnectionData.GetRequiresData method
指出是否DataFormWebPart需要的資料,而且想要參與資料擷取迴圈。
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Private Function GetRequiresData As Boolean
Implements IConnectionData.GetRequiresData
'用途
Dim instance As DataFormWebPart
Dim returnValue As Boolean
returnValue = CType(instance, IConnectionData).GetRequiresData()
boolIConnectionData.GetRequiresData()
傳回值
Type: System.Boolean
true如果DataFormWebPart需要的資料,並且想要參與資料擷取迴圈中 ;否則, false。
Implements
IConnectionData.GetRequiresData()
備註
此成員是明確介面成員實作。DataFormWebPart執行個體轉換成IConnectionData介面時,才可以使用它。
這個方法傳回true如果尚無DataFormWebPart提供給已連接的消費者控制項的資料列 ;否則,會傳回false。