Freigeben über


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

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("5EFC7971-14BC-11CF-9B2B-00AA00573819")> _
Public Interface IOleInPlaceComponentSite
[InterfaceTypeAttribute()]
[GuidAttribute("5EFC7971-14BC-11CF-9B2B-00AA00573819")]
public interface IOleInPlaceComponentSite
[InterfaceTypeAttribute()]
[GuidAttribute(L"5EFC7971-14BC-11CF-9B2B-00AA00573819")]
public interface class IOleInPlaceComponentSite
[<InterfaceTypeAttribute()>]
[<GuidAttribute("5EFC7971-14BC-11CF-9B2B-00AA00573819")>]
type IOleInPlaceComponentSite =  interface end
public interface IOleInPlaceComponentSite

The IOleInPlaceComponentSite type exposes the following members.

Methods

  Name Description
Public method SetUIMode Changes the UI mode of an in-place VSPackage object. This method is currently not supported.

Top

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

Microsoft.VisualStudio.Shell.Interop Namespace