ImportsEventsClass::ImportAdded Event

 

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

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

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

public:
event _dispImportsEvents_ImportAddedEventHandler^ ImportAdded {
	virtual void add(_dispImportsEvents_ImportAddedEventHandler^ value);
	virtual void remove(_dispImportsEvents_ImportAddedEventHandler^ value);
}

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

Return to top
Show: