共用方式為


IVsBuildableProjectCfg.Stop Method

Requests that a project stop building.

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

Syntax

'宣告
Function Stop ( _
    fSync As Integer _
) As Integer
'用途
Dim instance As IVsBuildableProjectCfg
Dim fSync As Integer
Dim returnValue As Integer

returnValue = instance.Stop(fSync)
int Stop(
    int fSync
)
int Stop(
    [InAttribute] int fSync
)
abstract Stop : 
        fSync:int -> int 
function Stop(
    fSync : int
) : int

Parameters

  • fSync
    Type: System.Int32
    [in] Flag that is set to true if the build should be stopped synchronously and false if it can be stopped asynchronously.

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::Stop(
   [in] BOOL fSync
);

.NET Framework Security

See Also

Reference

IVsBuildableProjectCfg Interface

IVsBuildableProjectCfg Members

Microsoft.VisualStudio.Shell.Interop Namespace