IVsBuildableProjectCfg.StartClean(IVsOutputWindowPane, UInt32) 方法

定义

请求项目开始干净操作,该操作是删除上一个生成的所有输出的过程。

public:
 int StartClean(Microsoft::VisualStudio::Shell::Interop::IVsOutputWindowPane ^ pIVsOutputWindowPane, System::UInt32 dwOptions);
public:
 int StartClean(Microsoft::VisualStudio::Shell::Interop::IVsOutputWindowPane ^ pIVsOutputWindowPane, unsigned int dwOptions);
int StartClean(Microsoft::VisualStudio::Shell::Interop::IVsOutputWindowPane const & pIVsOutputWindowPane, unsigned int dwOptions);
public int StartClean (Microsoft.VisualStudio.Shell.Interop.IVsOutputWindowPane pIVsOutputWindowPane, uint dwOptions);
abstract member StartClean : Microsoft.VisualStudio.Shell.Interop.IVsOutputWindowPane * uint32 -> int
Public Function StartClean (pIVsOutputWindowPane As IVsOutputWindowPane, dwOptions As UInteger) As Integer

参数

pIVsOutputWindowPane
IVsOutputWindowPane

中指向 IVsOutputWindowPane 接口的指针,该接口可用于在清理操作期间显示状态。

dwOptions
UInt32

中控制清理操作的选项。 当前 dwOptions 始终为零。

返回

Int32

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

注解

COM 签名

从 vsshell:

HRESULT IVsBuildableProjectCfg::StartClean(  
   [in] IVsOutputWindowPane *pIVsOutputWindowPane,  
   [in] DWORD dwOptions  
);  

适用于