次の方法で共有


IDocumentSite2 Interface

Definition

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

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

Methods

ActivateObject(UInt32)

Activates the document object.

GetCompiler(Guid, IntPtr)

Returns the requested interface of the compiler for the document.

GetObject(Object)

Returns the IDispatch interface of the object.

GetSite(IServiceProvider)

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

IsObjectShowable()

Indicates whether or not the object is showable.

SetSite(IServiceProvider)

Sets the IServiceProvider interface for the document site.

Applies to