Export (0) Print
Expand All

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)

public interface IOleInPlaceComponentSite

The IOleInPlaceComponentSite type exposes the following members.

Public methodSetUIModeChanges the UI mode of an in-place VSPackage object. This method is currently not supported.

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.

© 2015 Microsoft