Partager via


IDocumentSite Interface

Maintains information and supplies methods for the parent object of the document.

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

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("94A0F6F1-10BC-11D0-8D09-00A0C90F2732")> _
Public Interface IDocumentSite
[InterfaceTypeAttribute()]
[GuidAttribute("94A0F6F1-10BC-11D0-8D09-00A0C90F2732")]
public interface IDocumentSite
[InterfaceTypeAttribute()]
[GuidAttribute(L"94A0F6F1-10BC-11D0-8D09-00A0C90F2732")]
public interface class IDocumentSite
[<InterfaceTypeAttribute()>]
[<GuidAttribute("94A0F6F1-10BC-11D0-8D09-00A0C90F2732")>]
type IDocumentSite =  interface end
public interface IDocumentSite

The IDocumentSite type exposes the following members.

Methods

  Name Description
Public method ActivateObject Activates the document object.
Public method GetCompiler Returns the requested interface of the compiler for the document.
Public method GetSite Returns the IServiceProvider interface for the document site. Typically returns the value set by SetSite.
Public method IsObjectShowable Indicates whether or not the object is showable.
Public method SetSite Sets the IServiceProvider interface for the document site.

Top

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace