IVsBuildableProjectCfg.QueryStartClean(UInt32, Int32[], Int32[]) 方法

定义

确定项目是否能够删除上一生成的所有输出,此过程称为 "清理操作"。

int QueryStartClean(unsigned int dwOptions, std::Array <int> const & pfSupported, std::Array <int> const & pfReady);
public int QueryStartClean (uint dwOptions, int[] pfSupported, int[] pfReady);
abstract member QueryStartClean : uint32 * int[] * int[] -> int
Public Function QueryStartClean (dwOptions As UInteger, Optional pfSupported As Integer(), Optional pfReady As Integer()) As Integer

参数

dwOptions
UInt32

中控制清理操作的选项。 目前没有定义的选项, dwOptions 始终为零。

pfSupported
Int32[]

[out,optional]一个指针,指向在 true 项目支持清理操作时设置为的标志。

pfReady
Int32[]

[out,optional]一个指针,指向在 true 项目准备好开始清理操作时设置为的标志。 当前未使用此标志。

返回

Int32

如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。

注解

COM 签名

从 vsshell:

HRESULT IVsBuildableProjectCfg::QueryStartClean(  
   [in] DWORD dwOptions,  
   [out, optional] BOOL *pfSupported,  
   [out, optional] BOOL *pfReady  
);  

适用于