共用方式為


IVsPackage Members

Include Protected Members
Include Inherited Members

Initializes a VSPackage in the environment and makes its services available to the environment.

The IVsPackage type exposes the following members.

Methods

  Name Description
Public method Close Closes the VSPackage, releases cached interface pointers, and unadvises event sinks.
Public method CreateTool Enables the environment to create on-demand tool windows that are implemented by VSPackages.
Public method GetAutomationObject Enables a VSPackage to participate in the DTE automation object model.
Public method GetPropertyPage Proffers access to the Tools menu Options and the property pages of the Customize Toolbox dialog boxes.
Public method QueryClose Enables a VSPackage that requires user intervention to abort the shutdown process.
Public method ResetDefaults Resets Toolbox defaults.
Public method SetSite Initializes a VSPackage with a back pointer to the environment.

Top

See Also

Reference

IVsPackage Interface

Microsoft.VisualStudio.Shell.Interop Namespace