共用方式為


IVsBuildableProjectCfg.QueryStartClean Method

Determines whether or not a project is able to delete all outputs from the previous build, a process known as a clean operation.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'宣告
Function QueryStartClean ( _
    dwOptions As UInteger, _
    <OutAttribute> pfSupported As Integer(), _
    <OutAttribute> pfReady As Integer() _
) As Integer
'用途
Dim instance As IVsBuildableProjectCfg
Dim dwOptions As UInteger
Dim pfSupported As Integer()
Dim pfReady As Integer()
Dim returnValue As Integer

returnValue = instance.QueryStartClean(dwOptions, _
    pfSupported, pfReady)
int QueryStartClean(
    uint dwOptions,
    int[] pfSupported,
    int[] pfReady
)
int QueryStartClean(
    [InAttribute] unsigned int dwOptions, 
    [OutAttribute] array<int>^ pfSupported, 
    [OutAttribute] array<int>^ pfReady
)
abstract QueryStartClean : 
        dwOptions:uint32 * 
        pfSupported:int[] byref * 
        pfReady:int[] byref -> int 
function QueryStartClean(
    dwOptions : uint, 
    pfSupported : int[], 
    pfReady : int[]
) : int

Parameters

  • dwOptions
    Type: System.UInt32
    [in] Options governing the clean operation. Currently, there are no defined options and dwOptions is always zero.
  • pfSupported
    Type: array<System.Int32[]
    [out, optional] Pointer to the flag that is set to true if the project supports the clean operation.
  • pfReady
    Type: array<System.Int32[]
    [out, optional] Pointer to the flag that is set to true if the project is ready to start the clean operation. This flag is currently unused.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

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

.NET Framework Security

See Also

Reference

IVsBuildableProjectCfg Interface

IVsBuildableProjectCfg Members

Microsoft.VisualStudio.Shell.Interop Namespace