Add method

Adds an item to the collection.

Syntax


C++
HRESULT Add(
   VARIANT
MyItem)
Scripting languages
Object.Add(
   
MyItem as Variant)

Parameters


MyItem

The item you want to add to the collection.

Return value


C++

The return code.

Scripting languages

None.

Home

Applies to

IERUCollection