IDebugProgram2:: GetDebugProperty

获取程序的属性。

HRESULT GetDebugProperty( 
   IDebugProperty2** ppProperty
);
int GetDebugProperty( 
   out IDebugProperty2 ppProperty
);

参数

  • ppProperty
    [out] 返回表示程序的属性的 IDebugProperty2 对象。

返回值

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

备注

此方法返回的属性特定于程序。 如果程序需要返回多个属性,则此方法返回的 IDebugProperty2 对象是一个容器附加属性,并调用 IDebugProperty2:: EnumChildren 方法返回所有特性。

程序可以显示可以通过 IDebugProperty2 接口介绍其他属性的任意数目和类型。 IDE 可以通过泛型属性浏览器用户界面公开附加程序属性。

请参见

参考

IDebugProgram2

IDebugProperty2

IDebugProperty2:: EnumChildren