Compartilhar via


ListReadyEventHandler Delegate

NOTE: This API is now obsolete.

Represents the method that will handle the ListReady event fired by a Microsoft.SharePoint.WebPartPages.WebPart class that implements the IListProvider interface.

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

Syntax

'Declaration
<ObsoleteAttribute("Use System.Web.UI.WebControls.WebParts.IWebPartTable instead")> _
Public Delegate Sub ListReadyEventHandler ( _
    sender As Object, _
    e As ListReadyEventArgs _
)
'Usage
Dim instance As New ListReadyEventHandler(AddressOf HandlerMethod)
[ObsoleteAttribute("Use System.Web.UI.WebControls.WebParts.IWebPartTable instead")]
public delegate void ListReadyEventHandler(
    Object sender,
    ListReadyEventArgs e
)

Parameters

  • sender
    Type: System.Object

    The source of the event, the WebPart.

Remarks

When you create a ListReadyEventHandler delegate, you identify the method that will handle the event. To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, unless you remove the delegate.

See Also

Reference

Microsoft.SharePoint.WebPartPages.Communication Namespace