Compartilhar via


TransformableFilterValuesToParametersTransformer class

Permite filtros padrão, que implementam ITransformableFilterValues, para conectar-se a qualquer Web Part que pode consumir 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)

Syntax

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

Comentários

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

Ver também

Referência

TransformableFilterValuesToParametersTransformer members

Microsoft.SharePoint.WebPartPages namespace