DataFormWebPart.IConnectionData.GetRequiresData Method

Indicates whether the DataFormWebPart requires data and wants to participate in the data-retrieval loop.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Private Function GetRequiresData As Boolean
    Implements IConnectionData.GetRequiresData
'Usage
Dim instance As DataFormWebPart
Dim returnValue As Boolean

returnValue = CType(instance, IConnectionData).GetRequiresData()
boolIConnectionData.GetRequiresData()

Return Value

Type: System.Boolean
true if the DataFormWebPart requires data and wants to participate in the data-retrieval loop; otherwise, false.

Implements

IConnectionData.GetRequiresData()

Remarks

This member is an explicit interface member implementation. It can be used only when the DataFormWebPart instance is cast to an IConnectionData interface.

This method returns true if the row data that the DataFormWebPart provides to the connected consumer control is not ready; otherwise, returns false.

See Also

Reference

DataFormWebPart Class

DataFormWebPart Members

Microsoft.SharePoint.WebPartPages Namespace