Share via


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

  • 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 .NET Framework System Requirements.

Header: CorProf.idl, CorProf.h

Library: CorGuids.lib

.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

See Also

Reference

ICorProfilerInfo Interface

ICorProfilerInfo2 Interface