IDocumentSite2 IDocumentSite2 IDocumentSite2 Interface

Definition

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

[System.Runtime.InteropServices.Guid("61D4A8A1-2C90-11D2-ADE4-00C04F98F417")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IDocumentSite2 : Microsoft.VisualStudio.Shell.Interop.IDocumentSite
type IDocumentSite2 = interface
    interface IDocumentSite
Public Interface IDocumentSite2
Implements IDocumentSite
Attributes
Implements

Methods

ActivateObject(UInt32) ActivateObject(UInt32) ActivateObject(UInt32)

Activates the document object.

GetCompiler(Guid, IntPtr) GetCompiler(Guid, IntPtr) GetCompiler(Guid, IntPtr)

Returns the requested interface of the compiler for the document.

GetObject(Object) GetObject(Object) GetObject(Object)

Returns the IDispatch interface of the object.

GetSite(IServiceProvider) GetSite(IServiceProvider) GetSite(IServiceProvider)

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

IsObjectShowable() IsObjectShowable() IsObjectShowable()

Indicates whether or not the object is showable.

SetSite(IServiceProvider) SetSite(IServiceProvider) SetSite(IServiceProvider)

Sets the IServiceProvider interface for the document site.

Applies to