Share via


TransformableFilterValuesToParametersTransformer Class

Allows standard filters, which implement ITransformableFilterValues, to connect to any Web Part that can consume IWebPartParameters.

Inheritance Hierarchy

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

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

<WebPartTransformerAttribute(GetType(ITransformableFilterValues), GetType(IWebPartParameters))> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public NotInheritable Class TransformableFilterValuesToParametersTransformer _
    Inherits WebPartTransformer _
    Implements IWebPartParameters

Dim instance As TransformableFilterValuesToParametersTransformer
[WebPartTransformerAttribute(typeof(ITransformableFilterValues), typeof(IWebPartParameters))]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public sealed class TransformableFilterValuesToParametersTransformer : WebPartTransformer, 
    IWebPartParameters

Remarks

This transformer returns the first value of the first parameter sent via ITransformableFilterValues.

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

TransformableFilterValuesToParametersTransformer Members

Microsoft.SharePoint.WebPartPages Namespace