Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This API supports the .NET Framework 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)
Syntax
'Declaration
Public Overridable Event ImportAdded As _dispImportsEvents_ImportAddedEventHandler
public virtual event _dispImportsEvents_ImportAddedEventHandler ImportAdded
public:
virtual event _dispImportsEvents_ImportAddedEventHandler^ ImportAdded {
void add (_dispImportsEvents_ImportAddedEventHandler^ value);
void remove (_dispImportsEvents_ImportAddedEventHandler^ value);
}
abstract ImportAdded : IEvent<_dispImportsEvents_ImportAddedEventHandler,
EventArgs>
override ImportAdded : IEvent<_dispImportsEvents_ImportAddedEventHandler,
EventArgs>
JScript does not support events.
Implements
_dispImportsEvents_Event.ImportAdded
Remarks
This event is not raised if the Imports statement already exists in the project. Instead, the Add method will raise an error.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.