Share via


IDebugProgram2::GetDebugProperty

Note

This article applies to Visual Studio 2015. 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

Gets the program's properties.

Syntax

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

Parameters

ppProperty
[out] Returns an IDebugProperty2 object that represents the program's properties.

Return Value

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

Remarks

The properties returned by this method are specific to the program. If the program needs to return more than one property, then the IDebugProperty2 object returned by this method is a container of additional properties and calling the EnumChildren method returns a list of all properties.

A program may expose any number and type of additional properties that can be described through the IDebugProperty2 interface. An IDE might display the additional program properties through a generic property browser user interface.

See Also

IDebugProgram2
IDebugProperty2
EnumChildren