Partager via


IDebugTypeFieldBuilder2::CreateArrayOfType

Creates an array of the specified type and size.

HRESULT CreateArrayOfType (
   IDebugField*  pTypeField,
   DWORD         rank,
   IDebugField** pArrayOfTypeField
);
int CreateArrayOfType (
   IDebugField     pTypeField,
   uint            rank,
   out IDebugField pArrayOfTypeField
);

Parameters

  • pTypeField
    [in] Type of elements the array will hold.

  • rank
    [in] Number of elements in the array.

  • pArrayOfTypeField
    [out] Returns the IDebugField objects that represent the new array.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

See Also

Reference

IDebugTypeFieldBuilder2