Compartilhar via


SPRowToParametersTransformer Class

Transforms data between a WebPart provider that implements the IWebPartRow interface and a consumer provider that implements the IWebPartParameters interface.

Inheritance Hierarchy

System.Object
  System.Web.UI.WebControls.WebParts.WebPartTransformer
    Microsoft.SharePoint.WebPartPages.SPRowToParametersTransformer

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<WebPartTransformerAttribute(GetType(IWebPartRow), GetType(IWebPartParameters))> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public NotInheritable Class SPRowToParametersTransformer _
    Inherits WebPartTransformer _
    Implements IWebPartParameters
'Usage
Dim instance As SPRowToParametersTransformer
[WebPartTransformerAttribute(typeof(IWebPartRow), typeof(IWebPartParameters))]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public sealed class SPRowToParametersTransformer : WebPartTransformer, 
    IWebPartParameters

Remarks

This class replaces the RowToParametersTransformer.

Thread Safety

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

See Also

Reference

SPRowToParametersTransformer Members

Microsoft.SharePoint.WebPartPages Namespace