Description

A McGraphObj item from the collection.

Property type

A McGraphObj object.  

Syntax

object.Item(varItem)

The Item Property syntax has these parts:

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

Either an IMcGraphObj object instance or an index number.

If an IMcGraphObj object instance, then the collection is searched for that IMcGraphObj instance; should no such instance be found, a NULL object is returned. This allows you to check to see if some IMcGraphObj object instance is already part of the collection.

If an index number, then that IMcGraphObj instance is returned. The index number must be from zero to Count-1.

Remarks

An IMcGraphObj instance from the collection is exposed by index number or object instance.

Item is the default property for the McDisplayOverlays collection interface.

Exceptions

An index out of range is an error, but you may pass in a name or McGraphObj that is not part of the collection without error. In this case, Nothing is returned.