IDocumentSite2 Interface

Maintains information and supplies methods for the parent object of the document. This interface extends and inherits from IDocumentSite.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

[InterfaceTypeAttribute()]
[GuidAttribute("61D4A8A1-2C90-11D2-ADE4-00C04F98F417")]
public interface IDocumentSite2 : IDocumentSite

The IDocumentSite2 type exposes the following members.

  NameDescription
Public methodActivateObjectActivates the document object.
Public methodGetCompilerReturns the requested interface of the compiler for the document.
Public methodGetObjectReturns the IDispatch interface of the object.
Public methodGetSiteReturns the IServiceProvider interface for the document site. Typically returns the value set by SetSite.
Public methodIsObjectShowableIndicates whether or not the object is showable.
Public methodSetSiteSets the IServiceProvider interface for the document site.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft