IWebPartParameters Interface
Collapse the table of content
Expand the table of content

IWebPartParameters Interface

Note: This interface is new in the .NET Framework version 2.0.

Defines the contract a Web Parts control implements to pass a parameter value in a Web Parts connection.

Namespace: System.Web.UI.WebControls.WebParts
Assembly: System.Web (in system.web.dll)

public interface IWebPartParameters
public interface IWebPartParameters
public interface IWebPartParameters

Data is usually sent from a provider to a consumer in a Web Parts connection. However, in some cases, a provider needs a parameter from the consumer to determine which values it should send back. The IWebPartParameters interface defines members to implement that facilitate the passing of a parameter from a consumer to a provider.

The RowToParametersTransformer class implements the IWebPartParameters interface. Transformers are used to translate data between two Web Parts controls with incompatible connection points. A RowToParametersTransformer object transforms data from a provider implementing the IWebPartRow interface when the provider needs a parameter from the consumer.

The GetParametersData method retrieves the data from the provider and provides a callback method to process the data for the consumer. The callback method can be a customized method within the consumer that sets the return values accordingly.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions

© 2015 Microsoft