Export (0) Print
Expand All
Expand Minimize

ListProviderInitEventHandler Delegate

NOTE: This API is now obsolete.

Represents the method that will handle the ListProviderInit event fired by a Microsoft.SharePoint.WebPartPages.WebPart class that implements the IListProviderinterface.

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

[ObsoleteAttribute("Use System.Web.UI.WebControls.WebParts.IWebPartTable instead")]
public delegate void ListProviderInitEventHandler(
	Object sender,
	ListProviderInitEventArgs e
)

Parameters

sender
Type: System.Object

The source of the event, the WebPart.

e
Type: Microsoft.SharePoint.WebPartPages.Communication.ListProviderInitEventArgs

A ListProviderInitEventArgsthat contains the event data.

When you create a ListProviderInitEventHandler 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.

Show:
© 2015 Microsoft