The IVariantDictionary::get_Item method retrieves the specified item from either the Contents or StaticObjects colleciton. Both the Application and Session objects provide these collections.
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