Description

Remove an item from the collection

Return Type

None  

Syntax

object.Remove varItem

The Remove Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McDisplayOverlays.
varItemRequired. A Variant value.

Remarks

All links between features and the McGraphOverlay being removed are broken.

Index values associated with other members of the collection can change as a result of this call, and of course the Count property will decrease by one.

Exceptions

The instance in the arguement must be in the collection.