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)

public interface IDocumentSite2 : IDocumentSite

The IDocumentSite2 type exposes the following members.

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.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft