Partager via


TransformableFilterValuesToFieldTransformer Class

Allows the connection of standard filters that implement ITransformableFilterValuesto any Web Part that can consume IWebPartField. This transformer returns the first value of the first parameter sent via ITransformableFilterValues.

Inheritance Hierarchy

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

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

Syntax

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

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

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

TransformableFilterValuesToFieldTransformer Members

Microsoft.SharePoint.WebPartPages Namespace