Share via


AssemblyReferencesEventsClass.AssemblyReferenceAdded Event

Occurs whenever an assembly reference in a Web site is added or changed.

Namespace:  VsWebSite
Assembly:  VsWebSite.Interop (in VsWebSite.Interop.dll)

Syntax

'Declaration
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 does not support events.

Implements

_dispAssemblyReferencesEvents_Event.AssemblyReferenceAdded

Remarks

When a reference changes, it is removed and the new reference is added.

.NET Framework Security

See Also

Reference

AssemblyReferencesEventsClass Class

VsWebSite Namespace

AssemblyReferencesEvents

VSWebSite

VSWebSiteEvents

VSWebSiteEvents

AssemblyReferencesEvents