共用方式為


IOleInPlaceComponentSite Interface

Definition

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.

public interface class IOleInPlaceComponentSite
public interface class IOleInPlaceComponentSite
__interface IOleInPlaceComponentSite
[System.Runtime.InteropServices.Guid("5EFC7971-14BC-11CF-9B2B-00AA00573819")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IOleInPlaceComponentSite
[System.Runtime.InteropServices.Guid("5EFC7971-14BC-11CF-9B2B-00AA00573819")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IOleInPlaceComponentSite
[<System.Runtime.InteropServices.Guid("5EFC7971-14BC-11CF-9B2B-00AA00573819")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IOleInPlaceComponentSite = interface
[<System.Runtime.InteropServices.Guid("5EFC7971-14BC-11CF-9B2B-00AA00573819")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IOleInPlaceComponentSite = interface
Public Interface IOleInPlaceComponentSite
Attributes

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.

Methods

SetUIMode(UInt32)

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

Applies to