Remove method (Folders object)
Removes a Folder object from the Folders collection and deletes the folder from the HMI tag database. This also deletes all its subfolders and tags.
The object to be removed is specified by its position in the collection or by name.
Syntax
Folders
.Remove
(Index
)where
Folders
is the name of a Folders collection or an expression that evaluates to a Folders collection.Index
is an expression that specifies the object to be returned.- If it is a numeric expression,Indexspecifies the object's position in the collection and is a number from 1 to the value of the collection'sCountproperty.
- If it is a string expression,Indexis the name of an object in the collection.
Remarks
An error occurs if the value of
Index
does not match an existing member of the collection.Provide Feedback