Method.GetFilters Method

Gets the filters associated with the specified method instance.

Namespace:  Microsoft.Office.Server.ApplicationRegistry.MetadataModel
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)


Public Function GetFilters ( _
    methodInstance As MethodInstance _
) As FilterCollection
Dim instance As Method
Dim methodInstance As MethodInstance
Dim returnValue As FilterCollection

returnValue = instance.GetFilters(methodInstance)
public FilterCollection GetFilters(
    MethodInstance methodInstance


Return Value

Type: Microsoft.Office.Server.ApplicationRegistry.Runtime.FilterCollection
A FilterCollection object.


Even though Filters are associated with Methods, the argument to this takes a MethodInstance, because the Filters returned will be initialized with a DefaultValue that depends on the MethodInstance to get identified.

See Also


Method Class

Method Members

Microsoft.Office.Server.ApplicationRegistry.MetadataModel Namespace