C # in a Nutshell, Second Edition

ProcessThreadCollection

System.Diagnostics (system.dll) class

This strongly typed collection contains ProcessThread objects.

public class ProcessThreadCollection : ReadOnlyCollectionBase { // Public Constructors public ProcessThreadCollection (ProcessThread[ ] processThreads ); // Protected Constructors protected ProcessThreadCollection ( ); // Public Instance Properties public ProcessThread this [int index ]{get; } // Public Instance Methods public int Add (ProcessThread thread ); public bool Contains (ProcessThread thread ); public void CopyTo (ProcessThread[ ] array , int index ); public int IndexOf (ProcessThread thread ); public void Insert (int index , ProcessThread thread ); public void Remove (ProcessThread thread ); }

Hierarchy

System.Object System.Collections.ReadOnlyCollectionBase(System.Collections.ICollection , System.Collections.IEnumerable) ProcessThreadCollection

Returned By

Process.Threads

Категории