Compartir a través de


Program Interface

Definition

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.

public interface class Program
public interface class Program
__interface Program
[System.Runtime.InteropServices.Guid("6A38D87C-BBA0-11D2-8AD1-00C04F79E479")]
[System.Runtime.InteropServices.TypeLibType(4160)]
public interface Program
[System.Runtime.InteropServices.Guid("6A38D87C-BBA0-11D2-8AD1-00C04F79E479")]
public interface Program
[<System.Runtime.InteropServices.Guid("6A38D87C-BBA0-11D2-8AD1-00C04F79E479")>]
[<System.Runtime.InteropServices.TypeLibType(4160)>]
type Program = interface
[<System.Runtime.InteropServices.Guid("6A38D87C-BBA0-11D2-8AD1-00C04F79E479")>]
type Program = interface
Public Interface Program
Attributes

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.

Properties

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.

DTE

Gets the top-level extensibility object.

IsBeingDebugged

Gets whether a program is being debugged when this property is called.

Name

Gets the name of the object.

Parent

Gets the immediate parent object of a Program object.

Process

Gets the process by which this program is managed.

Threads

Gets the collection of threads that are being managed by this program.

Applies to