Gets a reference to a Program object.
Assembly: EnvDTE (in EnvDTE.dll)
This object has been superseded by the Process2 object. The existing code that uses Program object continues to work for backwards-compatibility purposes. However, the new applications should use the Process2 object.
The Program object is used to examine and manipulate programs. You can use this object to check if a program is being debugged, and you can examine a program's process and threads managed by the program.