共用方式為


VCProjectEngineEventsClass.add_ItemAdded 方法

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

僅限 Microsoft 內部使用。

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

語法

'宣告
Public Overridable Sub add_ItemAdded ( _
    A_1 As _dispVCProjectEngineEvents_ItemAddedEventHandler _
)
public virtual void add_ItemAdded(
    _dispVCProjectEngineEvents_ItemAddedEventHandler A_1
)
public:
virtual void add_ItemAdded(
    _dispVCProjectEngineEvents_ItemAddedEventHandler^ A_1
)
abstract add_ItemAdded : 
        A_1:_dispVCProjectEngineEvents_ItemAddedEventHandler -> unit 
override add_ItemAdded : 
        A_1:_dispVCProjectEngineEvents_ItemAddedEventHandler -> unit 
public function add_ItemAdded(
    A_1 : _dispVCProjectEngineEvents_ItemAddedEventHandler
)

參數

實作

_dispVCProjectEngineEvents_Event.add_ItemAdded(_dispVCProjectEngineEvents_ItemAddedEventHandler)

.NET Framework 安全性

請參閱

參考

VCProjectEngineEventsClass 類別

Microsoft.VisualStudio.VCProjectEngine 命名空間