Compartir a través de


IDebugField::GetExtendedInfo

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

This method gets extended information about a field.

Syntax

HRESULT GetExtendedInfo( 
   REFGUID guidExtendedInfo,
   BYTE**  prgBuffer,
   DWORD*  pdwLen
);
int GetExtendedInfo(
   ref Guid guidExtendedInfo,
   IntPtr[] prgBuffer,
   ref uint pdwLen
);

Parameters

guidExtendedInfo
[in] Selects the information to be returned. Valid values are:

Value Description
guidConstantValue The value as a sequence of bytes.
guidConstantType The type as a type signature.

prgBuffer
[out] Returns the extended information.

pdwLen
[in, out] Returns the size of the extended information, in bytes.

Return Value

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

Remarks

Currently, this method returns only the type or value of a constant. The caller must free the buffer returned in prgBuffer by calling COM's CoTaskMemFree function (C++) or FreeCoTaskMem (C#).

See also