Debugger::CurrentProgram Property

 

Sets or gets the active program.

Namespace:   EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

property Program^ CurrentProgram {
	Program^ get();
	void set(Program^ value);
}

Property Value

Type: EnvDTE::Program^

The active Program.

CurrentProgram sets or returns the active Program. The active program is the program that defines the data displayed by the debugger. Although the debugger supports debugging more than one process at a time, only one process can be active at any given time. See for more information.3588BAEC-E904-41AB-BD2B-0D676F98F076

The following example demonstrates how to use the CurrentProgram property.

No code example is currently available or this language may not be supported.
Return to top
Show: