IDebugExpressionEvaluator:: GetMethodProperty

此方法获取包含局部变量、参数和方法的其他属性的属性对象。

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
);

参数

  • pSymbolProvider
    [in] 要使用的符号提供程序,表示为 IDebugSymbolProvider 对象。

  • pAddress
    [in] 在代码中的地址,是以 IDebugAddress 对象,应该解析到最近的包含功能。

  • pBinder
    [in] 要使用的联编程序,表示为 IDebugBinder 对象。

  • fIncludeHiddenLocals
    [in] 非零 (TRUE) 表示包括隐藏的本地;零 (0)FALSE) 的含义保留掩藏起来的本地

  • ppProperty
    [out] 返回表示方法的 IDebugProperty2 对象。

返回值

如果成功,则返回; S_OK否则,返回错误代码。

备注

隐藏的本地通常是由编译器生成的变量。

请参见

参考

IDebugExpressionEvaluator

IDebugSymbolProvider

IDebugAddress

IDebugBinder

IDebugProperty2