IVsPackage2.get_CanClose(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies whether a package can be closed.
public:
int get_CanClose([Runtime::InteropServices::Out] bool % pfCanClose);
public int get_CanClose (out bool pfCanClose);
abstract member get_CanClose : bool -> int
Public Function get_CanClose (ByRef pfCanClose As Boolean) As Integer
Parameters
- pfCanClose
- Boolean
[out] Boolean value. true
if the package does not have to block shutdown of the integrated development environment (IDE).
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.