ICorProfilerInfo2::GetArrayObjectInfo Method

Gets detailed information about an array object.

Syntax

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

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: See System Requirements.

Header: CorProf.idl, CorProf.h

Library: CorGuids.lib

.NET Framework Versions: Available since 2.0

See also