共用方式為


AssemblyReferencesEventsClass.AssemblyReferenceAdded 事件

每當加入或變更網站的組件 (Assembly) 參考時發生。

命名空間:  VsWebSite
組件:  VsWebSite.Interop (在 VsWebSite.Interop.dll 中)

語法

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

實作

_dispAssemblyReferencesEvents_Event.AssemblyReferenceAdded

備註

當參考變更時,就會移除此參考並加入新的參考。

.NET Framework 安全性

請參閱

參考

AssemblyReferencesEventsClass 類別

VsWebSite 命名空間

AssemblyReferencesEvents

VSWebSite

VSWebSiteEvents

VSWebSiteEvents

AssemblyReferencesEvents