BuildManagerEventsClass.DesignTimeOutputDirty 事件

這個事件可以支援 .NET Framework 基礎結構,但不建議直接使用於您的程式碼中。

當導致可移植執行檔產生或更新的自訂工具在專案項目上執行時引發。

命名空間: VSLangProj
組件: VSLangProj (在 vslangproj.dll 中)

語法

'宣告
Public Event DesignTimeOutputDirty As _dispBuildManagerEvents_DesignTimeOutputDirtyEventHandler Implements _dispBuildManagerEvents_Event.DesignTimeOutputDirty
'用途
Dim instance As BuildManagerEventsClass
Dim handler As _dispBuildManagerEvents_DesignTimeOutputDirtyEventHandler

AddHandler instance.DesignTimeOutputDirty, handler
public virtual event _dispBuildManagerEvents_DesignTimeOutputDirtyEventHandler _dispBuildManagerEvents_Event.DesignTimeOutputDirty
public:
virtual event _dispBuildManagerEvents_DesignTimeOutputDirtyEventHandler^ DesignTimeOutputDirty {
    void add (_dispBuildManagerEvents_DesignTimeOutputDirtyEventHandler^ A_1) = _dispBuildManagerEvents_Event::DesignTimeOutputDirty::add;
    void remove (_dispBuildManagerEvents_DesignTimeOutputDirtyEventHandler^ A_1) = _dispBuildManagerEvents_Event::DesignTimeOutputDirty::remove;
}
J# 可以支援使用明確介面實作,但不允許宣告新的明確介面實作。
JScript 可以支援使用事件,但不允許宣告新的事件。

備註

每當自訂工具執行起來時,就會引發 DesignTimeOutputDirty 事件。發生以下任何狀況時,都會啟動執行自訂工具:

  • 當設定或變更專案項目的自訂工具屬性時。

  • 儲存專案項目檔案時。

  • 當自訂工具命名空間屬性變更時。

請參閱

參考

BuildManagerEventsClass 類別
BuildManagerEventsClass 成員
VSLangProj 命名空間