Partager via


IVsBuildableProjectCfg.QueryStatus Method

Determines whether or not a build operation has completed successfully.

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

Syntax

'Déclaration
Function QueryStatus ( _
    <OutAttribute> ByRef pfBuildDone As Integer _
) As Integer
'Utilisation
Dim instance As IVsBuildableProjectCfg
Dim pfBuildDone As Integer
Dim returnValue As Integer

returnValue = instance.QueryStatus(pfBuildDone)
int QueryStatus(
    out int pfBuildDone
)
int QueryStatus(
    [OutAttribute] int% pfBuildDone
)
abstract QueryStatus : 
        pfBuildDone:int byref -> int 
function QueryStatus(
    pfBuildDone : int
) : int

Parameters

  • pfBuildDone
    Type: System.Int32%
    [out] Pointer to the flag that is set to true if the build operation was successful and false if it was unsuccessful.

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::QueryStatus(
   [out] BOOL *pfBuildDone
);

.NET Framework Security

See Also

Reference

IVsBuildableProjectCfg Interface

IVsBuildableProjectCfg Members

Microsoft.VisualStudio.Shell.Interop Namespace