Share via


IDebugField::GetSize

This method gets the size of a field, in bytes.

HRESULT GetSize( 
   DWORD* pdwSize
);
int GetSize(
   out uint pdwSize
);

Parameters

  • pdwSize
    [out] Returns the size.

Return Value

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

Remarks

All fields have a type and all types have a size. For example, a field with a type of byte has a size of 1 byte.

See Also

Reference

IDebugField