Called when the extension is unloaded.
Namespace:
ESRI.ArcGIS.Desktop.AddInsAssembly: ESRI.ArcGIS.Desktop.Addins (in ESRI.ArcGIS.Desktop.Addins.dll) Version: 10.0.0.0 (10.0.0.0)
Syntax
| C# |
|---|
protected virtual void OnShutdown() |
| Visual Basic (Declaration) |
|---|
Protected Overridable Sub OnShutdown |
| Visual C++ |
|---|
protected: virtual void OnShutdown() |
Remarks
When creating a custom extension, override the OnShutdown method to perform some action when the extension gets unloaded.