Jaa


IDebugPropertyCreateEvent2

Applies to: yesVisual Studio noVisual Studio for Mac

Note

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

This interface is sent by the debug engine (DE) to the session debug manager (SDM) when it creates a property that is associated with a specific document.

Syntax

IDebugPropertyCreateEvent2 : IUnknown

Notes for Implementers

The DE implements this interface to report that a property has been created. The IDebugEvent2 interface must be implemented on the same object as this interface. The SDM uses QueryInterface to access the IDebugEvent2 interface. This interface is implemented if the DE has created a property associated with a script that has been loaded or created and if that script needs to appear in the IDE.

Notes for Callers

The DE creates and sends this event object to report a property has been created. The event is sent by using the IDebugEventCallback2 callback function that is supplied by the SDM when it is attached to the program being debugged.

Methods in Vtable Order

The following table shows the method of the IDebugPropertyCreateEvent2 interface.

Method Description
GetDebugProperty Gets the new property.

Remarks

If a property has a specific document or script associated with it, the DE can send this event to the SDM in order to update the Script Documents window with the name of the document. The SDM will call GetExtendedInfo with the argument guidDocument to retrieve a VARIANT containing an IUnknown pointer. The SDM will call QueryInterface on this pointer to retrieve the IDebugDocument2 interface that is used to update the Script Documents window.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See also