Important This object has been superseded by the Process2 object, so it should no longer be used. Existing code using this object continues to work for backwards-compatibility purposes. For new applications, use the Process2 object.
Namespace: EnvDTE Assembly: EnvDTE (in envdte.dll)
The Program object is used to examine and manipulate programs. You can use this object to determine if a program is being debugged, and you can examine a program's process and threads managed by the program.