共用方式為


IVsBuildableProjectCfg.StartClean(IVsOutputWindowPane, UInt32) Method

Definition

Requests that a project begin a clean operation, which is the process of deleting all of the outputs from the previous build.

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

Parameters

pIVsOutputWindowPane
IVsOutputWindowPane

[in] Pointer to the IVsOutputWindowPane interface that can be used to display status during the clean operation.

dwOptions
UInt32

[in] Options governing the clean operation. Currently, dwOptions is always zero.

Returns

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

Remarks

COM Signature

From vsshell.idl:

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

Applies to