Share via


IDebugProperty2::GetSize

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Gets the size, in bytes, of the property value.

Syntax

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

Parameters

pdwSize
[out] Returns the size, in bytes, of the property value.

Return Value

If successful, returns S_OK; otherwise returns error code. Returns S_GETSIZE_NO_SIZE if the property has no size.

See also