Поделиться через


Process Interface

Used to examine and manipulate processes.

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

Syntax

'Declaration
<GuidAttribute("5C5A0070-F396-4E37-A82A-1B767E272DF9")> _
Public Interface Process
[GuidAttribute("5C5A0070-F396-4E37-A82A-1B767E272DF9")]
public interface Process
[GuidAttribute(L"5C5A0070-F396-4E37-A82A-1B767E272DF9")]
public interface class Process
[<GuidAttribute("5C5A0070-F396-4E37-A82A-1B767E272DF9")>]
type Process =  interface end
public interface Process

The Process type exposes the following members.

Properties

  Name Description
Public property Collection Returns 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 Name Gets the name of the object.
Public property Parent Gets the immediate parent object of a Process object.
Public property ProcessID Gets the Win32 ID number assigned to this process.
Public property Programs Gets the collection of programs that are being managed by this process.

Top

Methods

  Name Description
Public method Attach Causes the debugger to attach this process.
Public method Break Causes the given process to pause its execution so that its current state can be analyzed.
Public method Detach Causes the debugger to detach from this process.
Public method Terminate Terminates this process.

Top

See Also

Reference

EnvDTE Namespace

Other Resources

Automation Object Model Chart