ProcessModuleCollection Class

Definition

Provides a strongly typed collection of ProcessModule objects.

public ref class ProcessModuleCollection : System::Collections::ReadOnlyCollectionBase
public class ProcessModuleCollection : System.Collections.ReadOnlyCollectionBase
type ProcessModuleCollection = class
    inherit ReadOnlyCollectionBase
Public Class ProcessModuleCollection
Inherits ReadOnlyCollectionBase
Inheritance
ProcessModuleCollection

Remarks

A module is an executable file or a dynamic link library (DLL). Each process consists of one or more modules. You can use this class to iterate over a collection of process modules on the system. A module is identified by its module name and fully qualified file path.

Constructors

ProcessModuleCollection()

Initializes a new instance of the ProcessModuleCollection class, with no associated ProcessModule instances.

ProcessModuleCollection(ProcessModule[])

Initializes a new instance of the ProcessModuleCollection class, using the specified array of ProcessModule instances.

Properties

Capacity
Count
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 modules.

Methods

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

Determines whether the specified process module exists in the collection.

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

Copies an array of ProcessModule 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<ProcessModule>)
Find(Predicate<ProcessModule>)
FindAll(Predicate<ProcessModule>)
FindIndex(Int32, Int32, Predicate<ProcessModule>)
FindIndex(Int32, Predicate<ProcessModule>)
FindIndex(Predicate<ProcessModule>)
FindLast(Predicate<ProcessModule>)
FindLastIndex(Int32, Int32, Predicate<ProcessModule>)
FindLastIndex(Int32, Predicate<ProcessModule>)
FindLastIndex(Predicate<ProcessModule>)
ForEach(Action<ProcessModule>)
GetEnumerator()
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(ProcessModule)

Provides the location of a specified module within the collection.

IndexOf(ProcessModule, Int32)
IndexOf(ProcessModule, Int32, Int32)
Insert(Int32, ProcessModule)
InsertRange(Int32, IEnumerable<ProcessModule>)
LastIndexOf(ProcessModule)
LastIndexOf(ProcessModule, Int32)
LastIndexOf(ProcessModule, Int32, Int32)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Remove(ProcessModule)
RemoveAll(Predicate<ProcessModule>)
RemoveAt(Int32)
RemoveRange(Int32, Int32)
Reverse()
Reverse(Int32, Int32)
Sort()
Sort(Comparison<ProcessModule>)
Sort(IComparer<ProcessModule>)
Sort(Int32, Int32, IComparer<ProcessModule>)
ToArray()
ToString()

Returns a string that represents the current object.

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

Explicit Interface Implementations

ICollection.CopyTo(Array, Int32)
ICollection.IsSynchronized
ICollection.SyncRoot

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

See also