Compartir a través de


IVsPackage2.get_CanClose(Boolean) Method

Definition

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.

Applies to