ICorProfilerInfo2::GetArrayObjectInfo Method

Gets detailed information about an array object.

HRESULT GetArrayObjectInfo(
    [in] ObjectID objectId,
    [in] ULONG32 cDimensions,
    [out, size_is(cDimensions), length_is(cDimensions)] ULONG32 pDimensionSizes[],
    [out, size_is(cDimensions), length_is(cDimensions)] int pDimensionLowerBounds[],
    [out] BYTE **ppData);

Parameters

Parameter Description

objectId

[in] The ID of a valid array object.

cDimensions

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

pDimensionSizes

[out] An array that contains integers, each representing the size of a dimension of the array.

pDimensionLowerBounds

[out] An array that contains integers, each representing the lower bound of a dimension of the array.

ppData

[out] A pointer to the address of the raw buffer for the array, which is laid out according to the C++ convention.

Remarks

The pDimensionSizes and pDimensionLowerBounds are parallel arrays, so the elements located at the same index in each array are characteristics of the same entity.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorProf.h

Library: CorProf.idl

.NET Framework Version: 2.0

See Also

Reference

ICorProfilerInfo Interface
ICorProfilerInfo2 Interface