DOFQueryBuilderaddFilter Method (DOFObjectID, ICollectionDOFInterfaceID)OpenDOF Object Access Library
Add a filter for a specific Device Object as specified by a Device Object identifier.

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

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

Parameters

objectID
Type: org.opendof.core.oalDOFObjectID
The object to filter. This must not be null and must be a unicast (not broadcast or multicast) id.
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 a specific Device Object as specified by a Device Object identifier. The list of interfaces that the object must provide can also be specified. If the list of interfaces is null or empty, then the filter is for the object regardless of provided interfaces.

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

See Also

Reference