Share this page

# Destroy<Type-Name>Array

Example: Destroy<Type-Name>Array | Creating Instances

Destroys an array of the type indicated in Type-Name.

    void Destroy<Type-Name>Array( <Type-Name>Array Array );

Array | An array of type Type-Name.

The Destroy<Type-Name>Array family of functions destroy an array of the type specified in Type-Name. You can use them to recover memory if you create arrays in the script other than those created by VuGen.

The functions include:

    void DestroyBoolArray( BoolArray Array );

    void DestroyBstrArray( BstrArrayArray );

    void DestroyByteArray( ByteArray Array );

    void DestroyCharArray( CharArray Array );

    void DestroyCoObjectArray( CoObjectArray Array );

    void DestroyCurrencyArray( CurrencyArray Array );

    void DestroyDateArray( CurrencyArray Array );

void DestroyDispObjectArray( DispObjectArray Array );

void DestroyDoubleArray( DoubleArray Array );

    void DestroyErrorArray( ErrorArray Array );

    void DestroyFloatArray( FloatArray Array );

    void DestroyIntArray( IntArray Array );

    void DestroyLongArray( LongArray Array );

    void DestroyShortArray( ShortArray Array );

    void DestroyUIntArray( UIntArray Array );

    void DestroyULongArray( ULongArray Array );

    void DestroyUShortArray( UShortArray Array );

    void DestroyVariantArray( VariantArray Array );

## Return Values

lrc Return Values

## Parameterization

Parameterization is not applicable to this function.

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: