다음을 통해 공유


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

‘선언
<InterfaceTypeAttribute()> _
<GuidAttribute("5EFC7971-14BC-11CF-9B2B-00AA00573819")> _
Public Interface IOleInPlaceComponentSite
‘사용 방법
Dim instance As 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

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