IConnectionData.GetRequiresData method

Allows an ASP.NET Web Part to specify that it requires data and that it wants to participate in the data-retrieval loop.

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

Syntax

'Declaration
Function GetRequiresData As Boolean
'Usage
Dim instance As IConnectionData
Dim returnValue As Boolean

returnValue = instance.GetRequiresData()
bool GetRequiresData()

Return value

Type: System.Boolean

Remarks

If the Web Part is in the data-retrieval loop, GetRequiresData returns true. The Web Part should continue to return true until it gets some data, even if it is waiting for something upstream in the communication path.

See also

Reference

IConnectionData interface

IConnectionData members

Microsoft.SharePoint.WebPartPages namespace