Compartilhar via


IMethodInstance.GetFilters Method

Gets the filters of the Method that contains this method instance that are initialized with default values of this method instance.

Namespace:  Microsoft.BusinessData.MetadataModel
Assembly:  Microsoft.BusinessData (in Microsoft.BusinessData.dll)

Syntax

'Declaration
Function GetFilters As IFilterCollection
'Usage
Dim instance As IMethodInstance
Dim returnValue As IFilterCollection

returnValue = instance.GetFilters()
IFilterCollection GetFilters()

Return Value

Type: Microsoft.BusinessData.Runtime.IFilterCollection

A collection of filters of the method.

Remarks

The method returns an empty collection if there are no filters.

Examples

Code Snippet: Execute a Finder Method Instance of an External Content Type

Code Snippet: Execute the IdEnumerator Method Instance of an External Content Type

Code Snippet: Determine the Type of the Parameter That a Filter is associated with

See Also

Reference

IMethodInstance Interface

IMethodInstance Members

Microsoft.BusinessData.MetadataModel Namespace