ProcessThreadCollection Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides a strongly typed collection of ProcessThread objects.
public ref class ProcessThreadCollection : System::Collections::ReadOnlyCollectionBase
public ref class ProcessThreadCollection : System::Collections::ICollection
public class ProcessThreadCollection : System.Collections.ReadOnlyCollectionBase
public class ProcessThreadCollection : System.Collections.ICollection
type ProcessThreadCollection = class
inherit ReadOnlyCollectionBase
type ProcessThreadCollection = class
interface ICollection
interface IEnumerable
Public Class ProcessThreadCollection
Inherits ReadOnlyCollectionBase
Public Class ProcessThreadCollection
Implements ICollection
- Inheritance
- Inheritance
-
ProcessThreadCollection
- Implements
Constructors
| 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. |
Properties
| Capacity | |
| Count |
Gets the number of elements contained in the collection. |
| 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[Int32] |
Gets an index for iterating over the set of process threads. |
Methods
Explicit Interface Implementations
| ICollection.CopyTo(Array, Int32) |
Copies the elements of the collection to an array, starting at a particular array index. |
| ICollection.CopyTo(Array, Int32) |
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 the collection is synchronized (thread safe). |
| 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 the collection. |
| ICollection.SyncRoot |
Gets an object that can be used to synchronize access to a ReadOnlyCollectionBase object. (Inherited from ReadOnlyCollectionBase) |
Extension Methods
| Cast<TResult>(IEnumerable) |
Casts the elements of an IEnumerable to the specified type. |
| OfType<TResult>(IEnumerable) |
Filters the elements of an IEnumerable based on a specified type. |
| AsParallel(IEnumerable) |
Enables parallelization of a query. |
| AsQueryable(IEnumerable) |
Converts an IEnumerable to an IQueryable. |