Freigeben über


ReferencesEventsClass.ReferenceRemoved 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 removed from a project.

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

Syntax

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

Implements

_dispReferencesEvents_Event.ReferenceRemoved

Remarks

Referencing the Collection, ContainingProject, or SourceProject property of the pReference parameter returns Nothing, because the reference does not belong to any collection, nor does it belong to any project. Trying to set the CopyLocal property would raise an error, as it has no meaning if the reference is not contained in a project. Calling the Remove method would also raise an error.

.NET Framework Security

See Also

Reference

ReferencesEventsClass Class

VSLangProj Namespace