Microsoft SDK for Java

destroy

This method of the SafeArray Class invokes the Win32 function SafeArrayDestroy.

Syntax

public void destroy();

Caution   This is a potentially dangerous routine that should be used with extreme caution. It is not necessary to invoke this method when following standard COM memory ownership rules. This is because the Java/COM integration subsystem and the Java garbage collector work together to ensure correct disposal of SafeArrays.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.