共用方式為


IFilterCollection Interface

Represents the collection of filters of a method instance.

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

Syntax

'Declaration
Public Interface IFilterCollection _
    Inherits IReadOnlyCollection(Of IFilter), IEnumerable(Of IFilter),  _
    IEnumerable
'Usage
Dim instance As IFilterCollection
public interface IFilterCollection : IReadOnlyCollection<IFilter>, 
    IEnumerable<IFilter>, IEnumerable

Remarks

The Filter collection is specific to the method instance it is obtained from. The collection will contain the filters of the method instance, and cannot be modified to have additional filters or existing filters cannot be removed. The obtained collection is to be used only with the method instance it is obtained from, and attempting to use the filter collection with other method instances is not supported, even if the filters between method instances are very similar. Creating empty filter collections are also not supported.

See Also

Reference

IFilterCollection Members

Microsoft.BusinessData.Runtime Namespace

GetFilters()