Method: Remove for Channels <Data>
- Updated2024-09-12
- 1 minute(s) read
Internal Data > Methods > Method: Remove for Channels <Data>
Method: Remove for Channels <Data>
Deletes one element from the Channels collection in the script interface for internal data.
Object.Remove(NameOrIndex)
| Object | Channels <Data> Object with this method |
| NameOrIndex | 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:
| VBScript | Python |
Call Data.Root.ChannelGroups(1).Channels.Remove("MyChannel")