ListViewWebPart.GetRequiresData Method
Overrides the WebPart.CreateWebPartMenu method. It indicates whether this Web Part needs data during this round of communication.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Overrides Function GetRequiresData As Boolean
'Usage
Dim instance As ListViewWebPart
Dim returnValue As Boolean
returnValue = instance.GetRequiresData()
public override bool GetRequiresData()
Return Value
Type: System.Boolean
true registers this Web Part for the appropriate BeginDataRetrieval and EndDataRetrieval events.