MethodInstance.GetFilters Method

Gets the filters associated with this MethodInstance object.

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


Public Function GetFilters As FilterCollection
Dim instance As MethodInstance
Dim returnValue As FilterCollection

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

Return Value

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


Even though Filters are associated with Methods, DefaultValues are associated with MethodInstnces, so putting this on the MethodInstance object allows it to return a collection of Filters that are all pre-initialized with the appropriate default values.

See Also


MethodInstance Class

MethodInstance Members

Microsoft.Office.Server.ApplicationRegistry.MetadataModel Namespace