Compartilhar via


TransformableFilterValuesToFieldTransformer class

Permite a conexão de filtros padrão que implementam ITransformableFilterValuespara qualquer Web Part que pode consumir IWebPartField. Este transformador retorna o primeiro valor do primeiro parâmetro enviado 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

'Declaração
<WebPartTransformerAttribute(GetType(ITransformableFilterValues), GetType(IWebPartField))> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public NotInheritable Class TransformableFilterValuesToFieldTransformer _
    Inherits WebPartTransformer _
    Implements IWebPartField
'Uso
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.

Ver também

Referência

TransformableFilterValuesToFieldTransformer members

Microsoft.SharePoint.WebPartPages namespace