Shutdown method. This should be the last call to ArcObjects in an application.
[Visual Basic 6.0]
Sub Shutdown
[Visual Basic .NET]
Public Sub Shutdown ( _
)
[C#] public void Shutdown ( );
[Java] public void shutdown ( ) throws IOException, AutomationException
[C++]
HRESULT Shutdown(
void
);
Before an application is shut down the AOInitialize object must be shut down. This ensures that any ESRI libraries that have been used are unloaded in the correct order. Failure to do this may result in random crashes on exit due to the operating system unloading the libraries in the incorrect order.