IRuntimeFilter Interface

The IRuntimeFilter interface is used to control which Web Parts are rendered at runtime based on a set of arbitrary parameters stored in the IsIncludedFilter property of the Web Part base class.

Public Methods

The following table shows the methods of the IRuntimeFilter interface and a brief description of each.

Name Description
CheckRuntimeRender(String) Used to indicate whether the Web Part will be rendered on the page.
InitializeStrings(System.Globalization.CultureInfo) Used to initialize string constants based on the value of the cultureInfo parameter
IsFilterActive Used to control whether the runtime filter is active and visible for different sites.
ValidateIsIncludedFilter(String) Used to insure that the IsIncludedFilter parameter contains proper values before IsIncludedFilter is saved to the database.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.


Namespace: Microsoft.SharePoint.WebPartPages

Platforms: Windows Server 2003

Assembly: Microsoft Windows SharePoint Services (in Microsoft.SharePoint.dll)

Security: Code Access Security