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. );
Application Contents Collection, Application StaticObjects Collection, Session Contents Collection, Session StaticObjects Collection