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

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