Compartilhar via


TransformableFilterValuesToFilterValuesTransformer class

Aplica os filtros padrão que implementam ITransformableFilterValues para qualquer Web Part que pode consumir 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

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

Comentários

Este transformador retorna o primeiro valor do primeiro parâmetro enviado por meio de 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.

Ver também

Referência

TransformableFilterValuesToFilterValuesTransformer members

Microsoft.SharePoint.WebPartPages namespace