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.
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
Post a Comment