The IVariantDictionary::get_Key method returns a unique identifier for an item in either the Contents or StaticObjects collection.
HRESULT STDMETHODCALLTYPE get_Item( VARIANT VarKey,//the identifier fot the item to return VARIANT*pvar //a pointer to the item that is returned. );
Application Contents Collection, Application StaticObjects Collection, Session Contents Collection, Session StaticObjects Collection