ICorDebugSymbolProvider::GetObjectSize Method

Returns the object size for an object based on its typespec signature.

Syntax

HRESULT GetObjectSize(
   [in] ULONG32 cbSignature,
   [in, size_is(cbSignature)]  BYTE typeSig[],
   [out] ULONG32 *pObjectSize
);

Parameters

cbSignature [in] The number of bytes in the typespec signature.

typeSig [in] The typespec signature.

pObjectSize [out] A pointer to the size of the object.

Remarks

Note

This method is available with .NET Native only.

Requirements

Platforms: See System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: Available since 4.6, .NET Native only

See also