IVariantDictionary::put_Item

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

HRESULT put_Item( 
     VARIANT VarKey,//the identifier fot the item to return
     VARIANT var//the item to add to the collection.
);
 

Parameters

VarKey
Identifier that indicates which item to add to the collection.
Var
The item to add to the collection.

See Also

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