Udostępnij za pośrednictwem


ImportsEventsClass.ImportAdded Event

Definition

Occurs immediately after an Imports statement has been added to a Visual Basic project.

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

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

Event Type

Implements

Remarks

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

Applies to