DOFQueryBuilderaddFilter Method (ICollectionDOFObjectID, ICollectionDOFInterfaceID)OpenDOF Object Access Library
Add a filter for specific Device Objects by providing a List of DOFObjectIDs.

Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax

C#
public DOFQueryBuilder addFilter(
	ICollection<DOFObjectID> objectIDs,
	ICollection<DOFInterfaceID> interfaceIDs
)

Parameters

objectIDs
Type: System.Collections.GenericICollectionDOFObjectID
The objects to filter. Must not be null and must not contain non-unicast (broadcast or multicast) id's.
interfaceIDs
Type: System.Collections.GenericICollectionDOFInterfaceID
The interfaces to filter. May be null.

Return Value

Type: DOFQueryBuilder
A reference to this Builder.
Remarks

Add a filter for specific Device Objects by providing a List of DOFObjectIDs. The list of interfaces that the objects must provide can also be specified. If the list of interfaces is null or empty, then the filter is for the objects regardless of provided interfaces.

For details on how DOFQueries and filters are matched see DOFQuery .

See Also

Reference