Click or drag to resize

DeviceGroupTRemove Method

Removes a device from the device group.

Namespace: Crestron.SimplSharpPro.DeviceSupport
Assembly: Crestron.SimplSharpPro.DeviceSupport (in Crestron.SimplSharpPro.DeviceSupport.dll) Version: 2.21.121
Syntax
C#
public bool Remove(
	T paramDevice
)

Parameters

paramDevice  T
Device that is to be removed from this group.

Return Value

Boolean
Returns true if the device was removed successfully. Returns false if there was an error.
Exceptions
ExceptionCondition
ArgumentNullExceptionDevice is null.
ArgumentExceptionDevice does not implement appropriate IGroupableDevice interface.
ArgumentExceptionDevice not found.
Remarks
Devices must be unregistered and reregistered when they are removed from a device group.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also