True if the item was in the list and was removed. False if the IndexNameOrItem was not in the list.
Syntax
object.Remove(IndexNameOrItem)
The Remove Method syntax has these parts:
Part
Description
object
An expression evaluating to an object of type McFeaturesList.
IndexNameOrItem
Required. A Variant value.
Either a zero-based index number, a case-insensitive name string or an object, identifying the list entry to be removed.
Remarks
The list copy of the McFeatures operator is removed from the list and is freed. Its backing McObject is also freed and its functionality is killed. Making subsequent calls on this McObject will cause an error.
Exceptions
If the IndexNameOrItem argument is given as an index number, then it must be a valid index (between 0 and Count-1).