共用方式為


VCProjectEngineEventsClass.ItemAdded 事件

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

僅限 Microsoft 內部使用。

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

語法

'宣告
Public Overridable Event ItemAdded As _dispVCProjectEngineEvents_ItemAddedEventHandler
public virtual event _dispVCProjectEngineEvents_ItemAddedEventHandler ItemAdded
public:
virtual  event _dispVCProjectEngineEvents_ItemAddedEventHandler^ ItemAdded {
    void add (_dispVCProjectEngineEvents_ItemAddedEventHandler^ value);
    void remove (_dispVCProjectEngineEvents_ItemAddedEventHandler^ value);
}
abstract ItemAdded : IEvent<_dispVCProjectEngineEvents_ItemAddedEventHandler,
    Object>
override ItemAdded : IEvent<_dispVCProjectEngineEvents_ItemAddedEventHandler,
    Object>
JScript 不支援事件。

實作

_dispVCProjectEngineEvents_Event.ItemAdded

.NET Framework 安全性

請參閱

參考

VCProjectEngineEventsClass 類別

Microsoft.VisualStudio.VCProjectEngine 命名空間