共用方式為


TransformableFilterValuesToFilterValuesTransformer Class

Applies standard filters that implement ITransformableFilterValues to any Web Part that can consume 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)
Available in Sandboxed Solutions: No

Syntax

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

Remarks

This transformer returns the first value of the first parameter sent through 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

TransformableFilterValuesToFilterValuesTransformer Members

Microsoft.SharePoint.WebPartPages Namespace