ProcessThreadCollection Class

Definition

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
ProcessThreadCollection
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

Add(ProcessThread)

Appends a process thread to the collection.

AddRange(IEnumerable<ProcessThread>)
AsReadOnly()
BinarySearch(Int32, Int32, ProcessThread, IComparer<ProcessThread>)
BinarySearch(ProcessThread)
BinarySearch(ProcessThread, IComparer<ProcessThread>)
Clear()
Contains(ProcessThread)

Determines whether the specified process thread exists in the collection.

ConvertAll<TOutput>(Converter<ProcessThread,TOutput>)
CopyTo(Int32, ProcessThread[], Int32, Int32)
CopyTo(ProcessThread[])
CopyTo(ProcessThread[], Int32)

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)
Exists(Predicate<ProcessThread>)
Find(Predicate<ProcessThread>)
FindAll(Predicate<ProcessThread>)
FindIndex(Int32, Int32, Predicate<ProcessThread>)
FindIndex(Int32, Predicate<ProcessThread>)
FindIndex(Predicate<ProcessThread>)
FindLast(Predicate<ProcessThread>)
FindLastIndex(Int32, Int32, Predicate<ProcessThread>)
FindLastIndex(Int32, Predicate<ProcessThread>)
FindLastIndex(Predicate<ProcessThread>)
ForEach(Action<ProcessThread>)
GetEnumerator()

Returns an enumerator that iterates through a collection.

GetEnumerator()

Returns an enumerator that iterates through the ReadOnlyCollectionBase instance.

(Inherited from ReadOnlyCollectionBase)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetRange(Int32, Int32)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
IndexOf(ProcessThread)

Provides the location of a specified thread within the collection.

IndexOf(ProcessThread, Int32)
IndexOf(ProcessThread, Int32, Int32)
Insert(Int32, ProcessThread)

Inserts a process thread at the specified location in the collection.

InsertRange(Int32, IEnumerable<ProcessThread>)
LastIndexOf(ProcessThread)
LastIndexOf(ProcessThread, Int32)
LastIndexOf(ProcessThread, Int32, Int32)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Remove(ProcessThread)

Deletes a process thread from the collection.

RemoveAll(Predicate<ProcessThread>)
RemoveAt(Int32)
RemoveRange(Int32, Int32)
Reverse()
Reverse(Int32, Int32)
Sort()
Sort(Comparison<ProcessThread>)
Sort(IComparer<ProcessThread>)
Sort(Int32, Int32, IComparer<ProcessThread>)
ToArray()
ToString()

Returns a string that represents the current object.

(Inherited from Object)
TrimExcess()
TrueForAll(Predicate<ProcessThread>)

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.

Applies to