IXCLRDataValue::GetArrayProperties Method

Gets the definition of an array value.

Note

This API was originally designed for internal use in the runtime. Although it is now supported for 3rd party use, we recommend working with ICorDebug and ICorProfiler APIs when possible.

Syntax

HRESULT GetArrayProperties(
    [out] ULONG32 *rank,
    [out] ULONG32 *totalElements,
    [in] ULONG32 numDim,
    [out, size_is(numDim)] ULONG32 dims[],
    [in] ULONG32 numBases,
    [out, size_is(numBases)] LONG32 bases[]
);

Parameters

rank
[out] The rank (number of dimensions) of the array.

totalElements
[out] The total number of elements in the array.

numDim
[in] The size of the dims buffer.

dims
[out] An array containing the size of each dimension of the array.

numBases
[in] The size of the bases buffer.

bases
[out] An array containing the base of each dimension of the array.

Remarks

The provided method is part of the IXCLRDataValue interface and corresponds to the 24th slot of the virtual method table.

Requirements

Platforms: See System Requirements. Header: None Library: None .NET Framework Versions: Available since 4.7

See also