共用方式為


IVsSolutionBuildManager2.CanCancelUpdateSolutionConfiguration(Int32) Method

Definition

Enables or disables the Cancel menu item.

public:
 int CanCancelUpdateSolutionConfiguration([Runtime::InteropServices::Out] int % pfCanCancel);
int CanCancelUpdateSolutionConfiguration([Runtime::InteropServices::Out] int & pfCanCancel);
public int CanCancelUpdateSolutionConfiguration (out int pfCanCancel);
abstract member CanCancelUpdateSolutionConfiguration : int -> int
Public Function CanCancelUpdateSolutionConfiguration (ByRef pfCanCancel As Integer) As Integer

Parameters

pfCanCancel
Int32

[out] Pointer to a flag indicating whether or nor the update can be cancelled.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsSolutionBuildManager2::CanCancelUpdateSolutionConfiguration(  
   [out] BOOL *pfCanCancel  
);  

Applies to