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)
Syntax
'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("61D4A8A1-2C90-11D2-ADE4-00C04F98F417")> _
Public Interface IDocumentSite2 _
Inherits IDocumentSite
[InterfaceTypeAttribute()]
[GuidAttribute("61D4A8A1-2C90-11D2-ADE4-00C04F98F417")]
public interface IDocumentSite2 : IDocumentSite
[InterfaceTypeAttribute()]
[GuidAttribute(L"61D4A8A1-2C90-11D2-ADE4-00C04F98F417")]
public interface class IDocumentSite2 : IDocumentSite
[<InterfaceTypeAttribute()>]
[<GuidAttribute("61D4A8A1-2C90-11D2-ADE4-00C04F98F417")>]
type IDocumentSite2 =
interface
interface IDocumentSite
end
public interface IDocumentSite2 extends IDocumentSite
The IDocumentSite2 type exposes the following members.
Methods
Name | Description | |
---|---|---|
ActivateObject | Activates the document object. | |
GetCompiler | Returns the requested interface of the compiler for the document. | |
GetObject | Returns the IDispatch interface of the object. | |
GetSite | Returns the IServiceProvider interface for the document site. Typically returns the value set by SetSite. | |
IsObjectShowable | Indicates whether or not the object is showable. | |
SetSite | Sets the IServiceProvider interface for the document site. |
Top