共用方式為


ReferencesEventsClass.ReferenceAdded Event

Definition

Occurs immediately after a reference is added to a project.

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

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

Event Type

Implements

Remarks

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

Applies to