Share this page

# GetElementFrom<n>D<Type-Name>Array

Example: GetElementFrom<n>D<Type-Name>Array | Array Types and Functions

Retrieves an element of the specified type from a SafeArray.

    <Actual Type-Name> GetElementFrom<n>D<Type-Name>Array( <Type-Name>Array Array, int index1,..., indexn );

Array | An array of the specified type.
index1,..., indexn | The indices of the element to be retrieved.

The GetElementFrom<n>D<Type-Name>Array family of functions retrieves an element of a specified type from a SafeArray. The type of the return variable is an actual language type such as unsigned long, and not an lrc type such as ulong. VuGen generates these calls as commented out code that you can use to store variables for parameterization. To use the calls, uncomment them and assign the function return value to a variable of the proper type.

## 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: