IOleInPlaceComponentSite 接口

IOleInPlaceComponentSite 接口当前不支持。在支持,它将由就地 VSPackage 对象的容器实现控制对象的用户界面模式。

命名空间:  Microsoft.VisualStudio.Shell.Interop
程序集:  Microsoft.VisualStudio.Shell.Interop(在 Microsoft.VisualStudio.Shell.Interop.dll 中)

语法

声明
<InterfaceTypeAttribute()> _
<GuidAttribute("5EFC7971-14BC-11CF-9B2B-00AA00573819")> _
Public Interface IOleInPlaceComponentSite
[InterfaceTypeAttribute()]
[GuidAttribute("5EFC7971-14BC-11CF-9B2B-00AA00573819")]
public interface IOleInPlaceComponentSite

IOleInPlaceComponentSite 类型公开以下成员。

方法

  名称 说明
公共方法 SetUIMode 更改一就地 VSPackage 对象的用户界面模式。目前不支持此方法。

页首

备注

请参见实现和/或调用的插图在该示例 Basic Edit Sample的此接口。

对实现者的说明

一个就地 VSPackage 对象的任何容器实现在同时实现 IOleClientSiteIServiceProvider其对象的 IOleInPlaceComponentSite 。由于该环境是许多就地对象的容器,它实现此接口,如 Vspackage。

对调用者的说明

在支持,就地 VSPackage 对象将调用 IOleInPlaceComponentSite 接口更改其容器用户界面模式。

请参见

参考

Microsoft.VisualStudio.Shell.Interop 命名空间