Click or drag to resize

BACnetBACnetDiscoveryDeviceInfoAddObject Method

Adds the specified object to the corresponding remote device objects collection if already discovered. Otherwise throws BACnetObjectNotDiscoveredException exception.

Namespace: Crestron.SimplSharpPro
Assembly: SimplSharpPro (in SimplSharpPro.dll) Version: 2.21.121
Syntax
C#
public bool AddObject(
	BACnetObject paramObject
)

Parameters

paramObject  BACnetObject
 

Return Value

Boolean
Returns 'true' if the object is added to the remote device successfully, else throws an exception corresponding to the type of error found.
Exceptions
ExceptionCondition
BACnetObjectNotDiscoveredExceptionObject user is trying to add is not in the discovered objects list.
BACnetDeviceOrObjectAlreadyExistsExceptionThe object is already present in the remote objects collection.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also