lrc_CreateVBCollection
Example: lrc_CreateVBCollection | VB Collection Support |
Creates a Visual Basic Collection object.
HRESULT lrc_CreateVBCollection( SAFEARRAY *items, _Collection** pCollection );
*items | A pointer to a variant array containing the items. |
**pCollection | A pointer to a pointer(double reference) where the collection will be placed. |
The lrc_CreateVBCollection function creates a Visual Basic (VB) Collection object filled with the safe array values, and returns a collection interface pointer into pCollection. A VB collection is a SafeArray of variants implemented as an interface by COM.
The first time the collection is encountered, VuGen creates the interface using lrc_CreateVBCollection. Subsequently, the code refers to this collection.
Return Values
Parameterization
You cannot use standard parameterization for any arguments in this function.