Visual Basic |
---|
Public Function AddItem( _ ByVal ItemData As Variant _ ) As Object |
- 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:
- 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.
- The sub-type [optional]. Either hp.qc.bp-component.bpcomponent or hp.qc.bp-component.group
- The order [optional]. The position (0-based) of the new BPComponent the collection of BPComponent objects in the parent BusinessProcess.