ReferencesEventsClass::ReferenceRemoved Event

 

This API supports the product 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)

public:
event _dispReferencesEvents_ReferenceRemovedEventHandler^ ReferenceRemoved {
	virtual void add(_dispReferencesEvents_ReferenceRemovedEventHandler^ value);
	virtual void remove(_dispReferencesEvents_ReferenceRemovedEventHandler^ value);
}

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.

Return to top
Show: