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(1)]
[GuidAttribute("61D4A8A1-2C90-11D2-ADE4-00C04F98F417")]
public interface IDocumentSite2 : IDocumentSite

NameDescription
System_CAPS_pubmethodActivateObject(UInt32)

Activates the document object.

System_CAPS_pubmethodGetCompiler(Guid, IntPtr)

Returns the requested interface of the compiler for the document.

System_CAPS_pubmethodGetObject(Object)

Returns the IDispatch interface of the object.

System_CAPS_pubmethodGetSite(IServiceProvider)

Returns the IServiceProvider interface for the document site. Typically returns the value set by SetSite.

System_CAPS_pubmethodIsObjectShowable()

Indicates whether or not the object is showable.

System_CAPS_pubmethodSetSite(IServiceProvider)

Sets the IServiceProvider interface for the document site.

Return to top
Show: