Click or drag to resize

RemoteBACnetDeviceRemoveAllObjects Method

Removes all the remote objects from all the remote objects collections.

Success will be returned if all the objects are removed successfully, otherwise failure is returned and the corresponding error is logged.


Namespace: Crestron.SimplSharpPro
Assembly: SimplSharpPro (in SimplSharpPro.dll) Version: 2.21.121
Syntax
C#
public override bool RemoveAllObjects()

Return Value

Boolean
Returns 'true' if all the objects are removed successfully, otherwise returns 'false' and logs the error found.
Remarks
This method will block pending a response. It is recommended to not invoke this method from within a event handler. Please launch a timer/thread to remove all remote objects. Also – this method not to be called from the control system constructor.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also