GetElementFrom<n>D<Type-Name>Array

Example: GetElementFrom<n>D<Type-Name>ArrayArray 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.