Share via


IDebugProgram2::GetDebugProperty

Gets the program's properties.

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 IDebugProperty2::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

Reference

IDebugProgram2

IDebugProperty2

IDebugProperty2::EnumChildren