共用方式為


IOleInPlaceComponent Members

Include Protected Members
Include Inherited Members

Allows in-place VSPackage objects to operate as a fully integrated component of the environment by using the SOleComponentUIManager service.

The IOleInPlaceComponent type exposes the following members.

Methods

  Name Description
Public method FDoIdle Queries an in-place VSPackage about its need to perform idle time tasks.
Public method FQueryClose Queries an in-place VSPackage object to determine whether or not the object can terminate.
Public method GetCntrContextMenu Allows an in-place VSPackage object assuming the role of main component to override the context menu requested by an object assuming the subcomponent or component control role.
Public method GetCntrHelp Allows an in-place VSPackage object assuming the main component role to override the help topic requested by an object assuming the subcomponent or component control role.
Public method GetCntrMessage Allows an in-place VSPackage object assuming the main component role to override a message belonging to an object assuming the subcomponent or component control role.
Public method OnEnterState Informs an in-place VSPackage object that the environment has entered or left a state.
Public method OnWindowActivate Informs an in-place VSPackage object of important window activation events.
Public method TranslateCntrAccelerator Requests that an in-place VSPackage object translate a command accelerator.
Public method UseComponentUIManager Informs an in-place object of its role in the environment, providing pointers to the IOleComponentUIManager and IOleInPlaceComponentSite interfaces.

Top

See Also

Reference

IOleInPlaceComponent Interface

Microsoft.VisualStudio.Shell.Interop Namespace