ProcessThreadCollection Class
.NET Framework 4.5
Provides a strongly typed collection of ProcessThread objects.
Namespace: System.Diagnostics
Assembly: System (in System.dll)
The ProcessThreadCollection type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | ProcessThreadCollection() | Initializes a new instance of the ProcessThreadCollection class, with no associated ProcessThread instances. |
![]() | ProcessThreadCollection(ProcessThread[]) | Initializes a new instance of the ProcessThreadCollection class, using the specified array of ProcessThread instances. |
| Name | Description | |
|---|---|---|
![]() | Count | Gets the number of elements contained in the ReadOnlyCollectionBase instance. (Inherited from ReadOnlyCollectionBase.) |
![]() | InnerList | Gets the list of elements contained in the ReadOnlyCollectionBase instance. (Inherited from ReadOnlyCollectionBase.) |
![]() | Item | Gets an index for iterating over the set of process threads. |
| Name | Description | |
|---|---|---|
![]() | Add | Appends a process thread to the collection. |
![]() | Contains | Determines whether the specified process thread exists in the collection. |
![]() | CopyTo | Copies an array of ProcessThread instances to the collection, at the specified index. |
![]() | Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetEnumerator | Returns an enumerator that iterates through the ReadOnlyCollectionBase instance. (Inherited from ReadOnlyCollectionBase.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | IndexOf | Provides the location of a specified thread within the collection. |
![]() | Insert | Inserts a process thread at the specified location in the collection. |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Remove | Deletes a process thread from the collection. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | ICollection.CopyTo | Copies the entire ReadOnlyCollectionBase to a compatible one-dimensional Array, starting at the specified index of the target array. (Inherited from ReadOnlyCollectionBase.) |
![]() ![]() | ICollection.IsSynchronized | Gets a value indicating whether access to a ReadOnlyCollectionBase object is synchronized (thread safe). (Inherited from ReadOnlyCollectionBase.) |
![]() ![]() | ICollection.SyncRoot | Gets an object that can be used to synchronize access to a ReadOnlyCollectionBase object. (Inherited from ReadOnlyCollectionBase.) |
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.






