IDebugExpressionEvaluator:: GetMethodLocationProperty

此方法将一个方法位置和偏移量内存地址中。

HRESULT GetMethodLocationProperty( 
   LPCOLESTR             upstrFullyQualifiedMethodPlusOffset,
   IDebugSymbolProvider* pSymbolProvider,
   IDebugAddress*        pAddress,
   IDebugBinder*         pBinder,
   IDebugProperty2**     ppProperty
);
int GetMethodLocationProperty(
   string               upstrFullyQualifiedMethodPlusOffset, 
   IDebugSymbolProvider pSymbolProvider, 
   IDebugAddress        pAddress, 
   IDebugBinder         pBinder, 
   out IDebugProperty2  ppProperty
);

参数

  • upstrFullyQualifiedMethodPlusOffset
    [in] 方法位置和偏移量,是以字符串。

  • pSymbolProvider
    [in] 是以 IDebugSymbolProvider 对象符号提供程序。

  • pAddress
    [in] 在方法内的地址,是以 IDebugAddress 对象。

  • pBinder
    [in] 是以 IDebugBinder 对象联编程序。

  • ppProperty
    [out] 返回表示内存地址的 IDebugProperty2 接口。

返回值

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

备注

例如则返回的地址可以用于设置断点,。

尽管该名称upstrFullyQualifiedMethodPlusOffset,此参数中传递一个部分限定的方法名称。 在这种情况下,选定的方法是将pAddress的脚本。 此参数如何解释由它支持表达式计算器和该语言的实现。

请参见

参考

IDebugSymbolProvider

IDebugBinder

IDebugProperty2

IDebugExpressionEvaluator