共用方式為


IVsMSBuildTaskFileManager.IsRealBuildOperation(Int32) Method

Definition

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

public:
 int IsRealBuildOperation([Runtime::InteropServices::Out] int % pfIsRealBuild);
int IsRealBuildOperation([Runtime::InteropServices::Out] int & pfIsRealBuild);
public int IsRealBuildOperation (out int pfIsRealBuild);
abstract member IsRealBuildOperation : int -> int
Public Function IsRealBuildOperation (ByRef pfIsRealBuild As Integer) As Integer

Parameters

pfIsRealBuild
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.

Returns

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  
);  

Applies to