Class WindowsProcessCollection
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents a collection of processes running on a Windows machine.
public class WindowsProcessCollection : Collection<WindowsProcess>, IList<WindowsProcess>, ICollection<WindowsProcess>, IList, ICollection, IReadOnlyList<WindowsProcess>, IReadOnlyCollection<WindowsProcess>, IEnumerable<WindowsProcess>, IEnumerable
- Inheritance
-
WindowsProcessCollection
- Implements
- Inherited Members
Constructors
WindowsProcessCollection()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.WindowsProcessCollection class.
public WindowsProcessCollection()
Methods
Exists(uint)
Determines whether a CENTREL.XIA.Configuration.Types.WindowsProcess with the specified PID exists within the collection.
public bool Exists(uint processId)
Parameters
processId
uintThe process identifier (PID) of the CENTREL.XIA.Configuration.Types.WindowsProcess to locate.
Returns
- bool
A System.Boolean value that indicates whether a CENTREL.XIA.Configuration.Types.WindowsProcess with the specified PID exists within the collection.
FindByProcessId(uint)
Returns the CENTREL.XIA.Configuration.Types.WindowsProcess with the specified PID, or null if no CENTREL.XIA.Configuration.Types.WindowsProcess with that PID is found.
public WindowsProcess FindByProcessId(uint processId)
Parameters
processId
uintThe process identifier (PID) of the CENTREL.XIA.Configuration.Types.WindowsProcess to locate.
Returns
- WindowsProcess
The CENTREL.XIA.Configuration.Types.WindowsProcess with the specified PID.
Sort()
Sorts the values in the collection.
public void Sort()