Condividi tramite


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)
Available in Sandboxed Solutions: No

Syntax

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