c# - What is IObjectWithSite Interface in IE addon development -


i have task create ie addon. when gathered knowledge it, found needs interface iobjectwithsite. went thought many sites not understand actual need , working.

so know iobjectwithsite. how works , why need creating ie addon. if provide knowledge "what site?".

iobjectwithsite generic interface provides option application host object implementing interface supply additional host interfaces. should object, such ie addon, need request additional interfaces host, can query site com object additional interfaces. "site" there not website, object hosts addon.

more on msdn:

often object needs communicate directly container site object and, in effect, manage site object itself. outside of ioleobject::setclientsite, there no generic means through object becomes aware of site. iobjectwithsite provides simple objects simple siting mechanism (lighter ioleobject) interface should used when ioleobject not in use.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -