IVsPackage2 Interface
Visual Studio 2015
Makes properties of a VSPackage available.
Assembly: Microsoft.VisualStudio.Shell.Interop.9.0 (in Microsoft.VisualStudio.Shell.Interop.9.0.dll)
| Name | Description | |
|---|---|---|
![]() | get_CanClose(Boolean) | Specifies whether a package can be closed. |
Packages should implement this interface when they must block shutdown of the integrated development environment (IDE). Although packages should continue to implement QueryClose to handle manual shutdowns, this new property will be queried during a forced shutdown of the IDE, such as that which typically happens when critical updates are installed.
The implementation may not show any UI.
Show:
