DOFQueryBuilderaddFilter Method (DOFObjectID, DOFInterfaceID)OpenDOF Object Access Library
Add a filter for a specific Device Object that provides the specified interface.

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

C#
public DOFQueryBuilder addFilter(
	DOFObjectID objectID,
	DOFInterfaceID interfaceID
)

Parameters

objectID
Type: org.opendof.core.oalDOFObjectID
The object to filter. Must not be null and must be a unicast (not broadcast or multicast) id.
interfaceID
Type: org.opendof.core.oalDOFInterfaceID
The interface to filter.

Return Value

Type: DOFQueryBuilder
A reference to this Builder.
Remarks

Add a filter for a specific Device Object that provides the specified interface. If the interface is null, then the filter is for the object regardless of interface.

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

See Also

Reference