ParametersInConsumerInit Method

The ParametersInConsumerInit method of the IParametersInProvider interface provides an event handler for a provider Web Part to process the ParametersInConsumerInit event of a consumer Web Part that implements the IParametersInConsumer interface.

Parameters

sender   A Web Part that implements the IParametersInConsumer interface.

parametersInConsumerInitEventArgs   A ParametersInConsumerInitEventArgs that provides an array of ParameterInProperty objects. Each item in the array contains property values for a parameter.

Example

The following code example shows the implementation of a ParametersInConsumerInit event handler. This code example is part of a larger example provided for the IParametersInProvider interface.

Requirements

Platforms: Microsoft Windows Server 2003

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