IDebugExpressionEvaluator::GetMethodProperty

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 a property object that contains the locals, arguments, and other properties of a method.

Syntax

HRESULT GetMethodProperty( 
   IDebugSymbolProvider* pSymbolProvider,
   IDebugAddress*        pAddress,
   IDebugBinder*         pBinder,
   BOOL                  fIncludeHiddenLocals,
   IDebugProperty2**     ppProperty
);
int GetMethodProperty(
   IDebugSymbolProvider pSymbolProvider,
   IDebugAddress        pAddress,
   IDebugBinder         pBinder,
   int                  fIncludeHiddenLocals,
   out IDebugProperty2  ppProperty
);

Parameters

pSymbolProvider
[in] The symbol provider to be used, expressed as an IDebugSymbolProvider object.

pAddress
[in] The address in code, expressed as an IDebugAddress object, that should be resolved to the nearest containing function.

pBinder
[in] The binder to be used, expressed as an IDebugBinder object.

fIncludeHiddenLocals
[in] Nonzero (TRUE)means to include hidden locals; zero (FALSE) means to leave out hidden locals

ppProperty
[out] Returns an IDebugProperty2 object that represents the method.

Return Value

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

Remarks

Hidden locals are typically variables that are generated by the compiler.

See also