AddItem Method
Description
Creates a new item object.
Syntax
Visual Basic
Public Function AddItem( _
   ByVal ItemData As Variant _
) As Object
Parameters
ItemData

There are three options for ItemData:

  • Null.
  • The Component name.
  • An array consisting of the following elements:

    (0) Parent ID - A ComponentFolder.ID (long).

    (1) Name - The Component name (string).

See Also