共用方式為


_dispVCProjectEngineEvents_ProjectBuildFinishedEventHandler 委派

這個 API 支援 .NET Framework 基礎結構,但您不可以直接在程式碼中使用它。

僅限 Microsoft 內部使用。

命名空間:  Microsoft.VisualStudio.VCProjectEngine
組件:  Microsoft.VisualStudio.VCProjectEngine (在 Microsoft.VisualStudio.VCProjectEngine.dll 中)

語法

'宣告
<ComVisibleAttribute(False)> _
Public Delegate Sub _dispVCProjectEngineEvents_ProjectBuildFinishedEventHandler ( _
    Cfg As Object, _
    warnings As Integer, _
    errors As Integer, _
    Cancelled As Boolean _
)
[ComVisibleAttribute(false)]
public delegate void _dispVCProjectEngineEvents_ProjectBuildFinishedEventHandler(
    Object Cfg,
    int warnings,
    int errors,
    bool Cancelled
)
[ComVisibleAttribute(false)]
public delegate void _dispVCProjectEngineEvents_ProjectBuildFinishedEventHandler(
    [InAttribute] Object^ Cfg, 
    [InAttribute] int warnings, 
    [InAttribute] int errors, 
    [InAttribute] bool Cancelled
)
[<ComVisibleAttribute(false)>]
type _dispVCProjectEngineEvents_ProjectBuildFinishedEventHandler = 
    delegate of 
        Cfg:Object * 
        warnings:int * 
        errors:int * 
        Cancelled:bool -> unit
JScript 不支援委派。

參數

  • Cancelled
    型別:System.Boolean
    指出建置是否已取消的布林值

請參閱

參考

Microsoft.VisualStudio.VCProjectEngine 命名空間