Share via


ReferencesEventsClass.ReferenceAdded Event

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Occurs immediately after a reference is added to a project.

Namespace:  VSLangProj
Assembly:  VSLangProj (in VSLangProj.dll)

Syntax

'Declaration
Public Overridable Event ReferenceAdded As _dispReferencesEvents_ReferenceAddedEventHandler
public virtual event _dispReferencesEvents_ReferenceAddedEventHandler ReferenceAdded
public:
virtual  event _dispReferencesEvents_ReferenceAddedEventHandler^ ReferenceAdded {
    void add (_dispReferencesEvents_ReferenceAddedEventHandler^ value);
    void remove (_dispReferencesEvents_ReferenceAddedEventHandler^ value);
}
abstract ReferenceAdded : IEvent<_dispReferencesEvents_ReferenceAddedEventHandler,
    EventArgs>
override ReferenceAdded : IEvent<_dispReferencesEvents_ReferenceAddedEventHandler,
    EventArgs>
JScript does not support events.

Implements

_dispReferencesEvents_Event.ReferenceAdded

Remarks

This event is not raised if the reference already exists in the project. Instead, the Add will raise an error.

.NET Framework Security

See Also

Reference

ReferencesEventsClass Class

VSLangProj Namespace