次の方法で共有


IDebugSymbolProvider::GetContainerField

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 the field that contains the debug address.

Syntax

HRESULT GetContainerField( 
   IDebugAddress*         pAddress,
   IDebugContainerField** ppContainerField
);
int GetContainerField(
   IDebugAddress            pAddress,
   out IDebugContainerField ppContainerField
);

Parameters

pAddress
[in] The address as represented by an IDebugAddress interface.

ppContainerField
[out] Returns a container field represented by an IDebugContainerField interface.

Return Value

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

See also