Share via


TransformableFilterValuesToFilterValuesTransformer class

Applies standard filters that implement ITransformableFilterValues to any Web Part that can consume IFilterValues.

Inheritance hierarchy

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

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

Syntax

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

Remarks

This transformer returns the first value of the first parameter sent through 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

TransformableFilterValuesToFilterValuesTransformer members

Microsoft.SharePoint.WebPartPages namespace