This documentation is archived and is not being maintained.

RowToParametersTransformer Class

Transforms data in a Web Parts connection from a provider that implements the IWebPartRow interface to a consumer expecting to receive data from a provider that implements the IWebPartParameters interface.

System.Object
  System.Web.UI.WebControls.WebParts.WebPartTransformer
    System.Web.UI.WebControls.WebParts.RowToParametersTransformer

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

[WebPartTransformerAttribute(typeof(IWebPartRow), typeof(IWebPartParameters))]
public sealed class RowToParametersTransformer : WebPartTransformer, 
	IWebPartParameters

The RowToParametersTransformer type exposes the following members.

  NameDescription
Public methodRowToParametersTransformerInitializes a new instance of the RowToParametersTransformer class.
Top

  NameDescription
Public propertyConsumerFieldNamesGets or sets the list of names in the consumer that will receive the values from the provider.
Public propertyProviderFieldNamesGets or sets the list of field names from the provider.
Top

  NameDescription
Public methodCreateConfigurationControlProvides an ASP.NET control that allows the user to configure a RowToParametersTransformer transformer in the ConnectionsZone zone. (Overrides WebPartTransformer.CreateConfigurationControl().)
Public methodEquals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodLoadConfigurationStateLoads the configuration state saved with the SaveConfigurationState method. (Inherited from WebPartTransformer.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Protected methodSaveConfigurationStateSaves the configuration state set by the user in the ASP.NET configuration control. (Inherited from WebPartTransformer.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodTransformProvides an object for transforming the data. (Overrides WebPartTransformer.Transform(Object).)
Top

  NameDescription
Explicit interface implemetationPrivate methodIWebPartParameters.GetParametersDataGets the value of the data from the connection provider.
Explicit interface implemetationPrivate propertyIWebPartParameters.SchemaGets the schema information for a data field that is used to share data between two Web Parts controls.
Explicit interface implemetationPrivate methodIWebPartParameters.SetConsumerSchemaSets the property descriptors for the properties that the consumer receives when the IWebPartParameters.GetParametersData method is called.
Top

Transformers are used in a Web Parts connection to translate data between two Web Parts controls with incompatible connection points. The RowToParametersTransformer class transforms data from a provider implementing the IWebPartRow interface to a consumer expecting to receive data from a provider that implements the IWebPartParameters interface.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: