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

Pass one of:

  • A VT_VARIANT containing the Component .ID of the component the new BPComponent is an instance of.
  • A VT_ARRAY containing:
    1. The Component .ID of the component the new BPComponent is an instance of. If the sub-type is Group, this argument is ignored, but it must be passed.
    2. The sub-type [optional]. Either hp.qc.bp-component.bpcomponent or hp.qc.bp-component.group 
    3. The order [optional]. The position (0-based) of the new BPComponent the collection of BPComponent objects in the parent BusinessProcess.
See Also