ItemByName

This read-only property returns an item from the collection specified by the Name parameter.

The return value also contains an interface pointer to the specified item.

During this method, AddRef is called to the interface, so the caller must release the returned interface pointer when it is no longer needed.

Syntax

ItemByName (Name As String) As Object
Parameter Description

Name

Name of the item to retrieve from the collection.