共用方式為


_dispVCProjectEngineEvents_Event.ItemMoved 事件

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

發生於當專案內的指定物件移動時。

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

語法

'宣告
Event ItemMoved As _dispVCProjectEngineEvents_ItemMovedEventHandler
event _dispVCProjectEngineEvents_ItemMovedEventHandler ItemMoved
 event _dispVCProjectEngineEvents_ItemMovedEventHandler^ ItemMoved {
    void add (_dispVCProjectEngineEvents_ItemMovedEventHandler^ value);
    void remove (_dispVCProjectEngineEvents_ItemMovedEventHandler^ value);
}
abstract ItemMoved : IEvent<_dispVCProjectEngineEvents_ItemMovedEventHandler,
    EventArgs>
JScript 不支援事件。

.NET Framework 安全性

請參閱

參考

_dispVCProjectEngineEvents_Event 介面

Microsoft.VisualStudio.VCProjectEngine 命名空間