Delete Method (DioGroup)  

Purpose

Delete range of channels form the group.

Syntax

Object.Delete([vFirstChannel], [vLastChannel])

 

The Delete property syntax has the following parts:

Name

Type

Description

Object

DioBlock

DioGroup object.

vFirstChannel

Variant

Optional - First channel to add specified either by name or number.

vLastChannel

Variant

Optional - Last channel to add specified either by name or number.

Comments

If vFirstChannel is not specified, all the channels in the file will be deleted from the group.

If vLastChannel was not specified then only single channel (vFirstChannel) will be deleted.

 

See Also

Clear, Delete, Count, ChannelName, ChannelNumber