Compartir a través de


ReferencesEventsClass.ReferenceRemoved Event

Definition

Occurs immediately after a reference is removed from a project.

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

public:
 virtual event VSLangProj::_dispReferencesEvents_ReferenceRemovedEventHandler ^ ReferenceRemoved;
public:
 virtual event VSLangProj::_dispReferencesEvents_ReferenceRemovedEventHandler ^ ReferenceRemoved;
public virtual event VSLangProj._dispReferencesEvents_ReferenceRemovedEventHandler ReferenceRemoved;
member this.ReferenceRemoved : VSLangProj._dispReferencesEvents_ReferenceRemovedEventHandler 
Public Overridable Custom Event ReferenceRemoved As _dispReferencesEvents_ReferenceRemovedEventHandler Implements ReferenceRemoved

Event Type

Implements

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.

Applies to