共用方式為


IOleInPlaceComponentSite Interface

The IOleInPlaceComponentSite interface is currently not supported. When supported, it will be implemented by the container of an in-place VSPackage object to control the UI mode of the object.

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

Syntax

'宣告
<GuidAttribute("5EFC7971-14BC-11CF-9B2B-00AA00573819")> _
<InterfaceTypeAttribute()> _
Public Interface IOleInPlaceComponentSite
'用途
Dim instance As IOleInPlaceComponentSite
[GuidAttribute("5EFC7971-14BC-11CF-9B2B-00AA00573819")]
[InterfaceTypeAttribute()]
public interface IOleInPlaceComponentSite
[GuidAttribute(L"5EFC7971-14BC-11CF-9B2B-00AA00573819")]
[InterfaceTypeAttribute()]
public interface class IOleInPlaceComponentSite
public interface IOleInPlaceComponentSite

Remarks

See illustrations of the implementation and/or calling of this interface in the sample Basic Edit Sample.

Notes to Implementers:

Any container of an in-place VSPackage object implements IOleInPlaceComponentSite on its object that also implements IOleClientSite and IServiceProvider. Because the environment is the container for many in-place objects, it implements this interface, as do VSPackages.

Notes to Callers:

When supported, in-place VSPackage objects will call the IOleInPlaceComponentSite interface to change the UI mode of their containers.

See Also

Reference

IOleInPlaceComponentSite Members

Microsoft.VisualStudio.Shell.Interop Namespace