IVariantDictionary::put_Item

The IVariantDictionary::put_Item method adds an item to either the Contents or StaticObjects collection.

HRESULT put_Item(

   VARIANT VarKey,  // identifier for the item to return

   VARIANT var  // item to add to the collection

);

 

Parameters
VarKey
[in] Identifier that indicates which item to add to the collection.
Var
[in] Item to add to the collection.
See Also

Application Contents Collection, Application StaticObjects Collection, Session Contents Collection, Session StaticObjects Collection