แก้ไข

แชร์ผ่าน


RowToParametersTransformer Class

Definition

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.

public ref class RowToParametersTransformer sealed : System::Web::UI::WebControls::WebParts::WebPartTransformer, System::Web::UI::WebControls::WebParts::IWebPartParameters
[System.Web.UI.WebControls.WebParts.WebPartTransformer(typeof(System.Web.UI.WebControls.WebParts.IWebPartRow), typeof(System.Web.UI.WebControls.WebParts.IWebPartParameters))]
public sealed class RowToParametersTransformer : System.Web.UI.WebControls.WebParts.WebPartTransformer, System.Web.UI.WebControls.WebParts.IWebPartParameters
[<System.Web.UI.WebControls.WebParts.WebPartTransformer(typeof(System.Web.UI.WebControls.WebParts.IWebPartRow), typeof(System.Web.UI.WebControls.WebParts.IWebPartParameters))>]
type RowToParametersTransformer = class
    inherit WebPartTransformer
    interface IWebPartParameters
Public NotInheritable Class RowToParametersTransformer
Inherits WebPartTransformer
Implements IWebPartParameters
Inheritance
RowToParametersTransformer
Attributes
Implements

Remarks

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.

Constructors

RowToParametersTransformer()

Initializes a new instance of the RowToParametersTransformer class.

Properties

ConsumerFieldNames

Gets or sets the list of names in the consumer that will receive the values from the provider.

ProviderFieldNames

Gets or sets the list of field names from the provider.

Methods

CreateConfigurationControl()

Provides an ASP.NET control that allows the user to configure a RowToParametersTransformer transformer in the ConnectionsZone zone.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
LoadConfigurationState(Object)

Loads the configuration state saved with the SaveConfigurationState() method.

(Inherited from WebPartTransformer)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
SaveConfigurationState()

Saves the configuration state set by the user in the ASP.NET configuration control.

(Inherited from WebPartTransformer)
ToString()

Returns a string that represents the current object.

(Inherited from Object)
Transform(Object)

Provides an object for transforming the data.

Explicit Interface Implementations

IWebPartParameters.GetParametersData(ParametersCallback)

Gets the value of the data from the connection provider.

IWebPartParameters.Schema

Gets the schema information for a data field that is used to share data between two Web Parts controls.

IWebPartParameters.SetConsumerSchema(PropertyDescriptorCollection)

Sets the property descriptors for the properties that the consumer receives when the GetParametersData(ParametersCallback) method is called.

Applies to