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)
Syntax
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Overrides Function GetRequiresData As Boolean
Dim instance As ListViewWebPart
Dim returnValue As Boolean
returnValue = instance.GetRequiresData()
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public override bool GetRequiresData()
Return Value
Type: System.Boolean
true registers this Web Part for the appropriate BeginDataRetrieval and EndDataRetrieval events.