IVsMSBuildTaskFileManager.IsRealBuildOperation Method

Determines if a build is real or for design-time Intellisense.

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

Syntax

'Declaration
Function IsRealBuildOperation ( _
    <OutAttribute> ByRef pfIsRealBuild As Integer _
) As Integer
'Usage
Dim instance As IVsMSBuildTaskFileManager 
Dim pfIsRealBuild As Integer 
Dim returnValue As Integer 

returnValue = instance.IsRealBuildOperation(pfIsRealBuild)
int IsRealBuildOperation(
    out int pfIsRealBuild
)
int IsRealBuildOperation(
    [OutAttribute] int% pfIsRealBuild
)
function IsRealBuildOperation(
    pfIsRealBuild : int
) : int

Parameters

  • pfIsRealBuild
    Type: System.Int32%

    [out] A Boolean value; true if the build is a real build, otherwise 6 if the build is for design-time generation for Intellisense.

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 vsshell90.idl:

HRESULT IsRealBuildOperation(
    [out, retval] BOOL *pfIsRealBuild
);

.NET Framework Security

See Also

Reference

IVsMSBuildTaskFileManager Interface

IVsMSBuildTaskFileManager Members

Microsoft.VisualStudio.Shell.Interop Namespace