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

'Declaration
<WebPartTransformerAttribute(GetType(ITransformableFilterValues), GetType(IWebPartParameters))> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public NotInheritable Class TransformableFilterValuesToParametersTransformer _
    Inherits WebPartTransformer _
    Implements IWebPartParameters
'Usage
Dim instance As TransformableFilterValuesToParametersTransformer
[WebPartTransformerAttribute(typeof(ITransformableFilterValues), typeof(IWebPartParameters))]
[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