Share via


Program Interface

Important   Do not use this object for new applications. It has been superseded by the Process2 object, which we recommend instead. However, this object will continue to work in existing code.

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

Syntax

'Declaration
<GuidAttribute("6A38D87C-BBA0-11D2-8AD1-00C04F79E479")> _
Public Interface Program
[GuidAttribute("6A38D87C-BBA0-11D2-8AD1-00C04F79E479")]
public interface Program
[GuidAttribute(L"6A38D87C-BBA0-11D2-8AD1-00C04F79E479")]
public interface class Program
[<GuidAttribute("6A38D87C-BBA0-11D2-8AD1-00C04F79E479")>]
type Program =  interface end
public interface Program

The Program type exposes the following members.

Properties

  Name Description
Public property Collection Gets the collection that contains the object that supports this property or is contained in this code construct. Returns null for an object that is not obtained from a collection.
Public property DTE Gets the top-level extensibility object.
Public property IsBeingDebugged Gets whether a program is being debugged when this property is called.
Public property Name Gets the name of the object.
Public property Parent Gets the immediate parent object of a Program object.
Public property Process Gets the process by which this program is managed.
Public property Threads Gets the collection of threads that are being managed by this program.

Top

Remarks

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 process and threads managed by the program.

See Also

Reference

EnvDTE Namespace

Other Resources

Automation Object Model Chart