Share via


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)
Available in Sandboxed Solutions: No

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