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)
Syntax
'Declaration
Public Function GetFilters As FilterCollection
'Usage
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.
Remarks
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
Reference
Microsoft.Office.Server.ApplicationRegistry.MetadataModel Namespace