Share via


ListProviderInit Method

The ListProviderInit method of the IListConsumer interface provides an event handler for the ListProviderInit event of a Web Part that implements the IListProvider interface.

Parameters

sender  Reference to the consumer Web Part.

listProviderInitEventArgs  The arguments passed by the provider Web Part.

Example

The following code example shows an implementation of the ListProviderInit method. This code example is part of a larger example provided for the IListConsumer interface.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security. In addition, the WebPartPermissions.Connections permission is required to use this member.