Method: Remove for Channels <DataPlugin>
- Updated2024-09-12
- 1 minute(s) read
DataPlugin > Methods > Method: Remove for Channels <DataPlugin>
Method: Remove for Channels <DataPlugin>
Deletes one element from the Channels collection.
Object.Remove(ChnNameorIndex)
| Object | Channels <DataPlugin> Object with this method |
| ChnNameorIndex | Variant Specifies the name or the index of the channel that is to be deleted. |
The following example deletes the MyChannel channel from the first channel group:
Call Root.ChannelGroups(1).Channels.Remove("MyChannel")