Method.GetFilters Method
NOTE: This API is now obsolete.
Gets the filters associated with the specified method instance.
Namespace: Microsoft.Office.Server.ApplicationRegistry.MetadataModel
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
<ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.", _
False)> _
Public Function GetFilters ( _
methodInstance As MethodInstance _
) As FilterCollection
'Usage
Dim instance As Method
Dim methodInstance As MethodInstance
Dim returnValue As FilterCollection
returnValue = instance.GetFilters(methodInstance)
[ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.",
false)]
public FilterCollection GetFilters(
MethodInstance methodInstance
)
Parameters
methodInstance
Type: Microsoft.Office.Server.ApplicationRegistry.MetadataModel.MethodInstanceThe MethodInstance object.
Return Value
Type: Microsoft.Office.Server.ApplicationRegistry.Runtime.FilterCollection
A FilterCollection object.
Remarks
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
Reference
Microsoft.Office.Server.ApplicationRegistry.MetadataModel Namespace