Export (0) Print
Expand All

ICorDebugEval2::NewParameterizedArray Method

Allocates a new array of the specified element type and dimensions.

HRESULT NewParameterizedArray(
    [in] ICorDebugType          *pElementType,
    [in] ULONG32                rank,
    [in, size_is(rank)] ULONG32 dims[],
    [in, size_is(rank)] ULONG32 lowBounds[]


[in] A pointer to an ICorDebugType object that represents the type of element stored in the array.


[in] The number of dimensions of the array. In the .NET Framework version 2.0, this value must be 1.


[in] The size, in bytes, of each dimension of the array.


[in] Optional. The lower bound of each dimension of the array. If this value is omitted, a lower bound of zero is assumed for each dimension.

The elements of the array may be instances of a generic type. The array is always created in the application domain in which the thread is currently running. In the .NET Framework 2.0, the value of rank must be 1.

Platforms: See .NET Framework System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: 4.6 Preview, 4.5.2, 4.5.1, 4.5, 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

© 2015 Microsoft