Edit

Share via


IDebugExpressionEvaluator::GetMethodProperty

This method gets a property object that contains the locals, arguments, and other properties of a method.

Syntax

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