mscorlib(4.0.0.0) API with additions
ProcessModuleCollection.cs
1 using System.Collections;
2 
3 namespace System.Diagnostics
4 {
7  {
11  public ProcessModule this[int index]
12  {
13  get
14  {
15  return (ProcessModule)base.InnerList[index];
16  }
17  }
18 
21  {
22  }
23 
26  public ProcessModuleCollection(ProcessModule[] processModules)
27  {
28  base.InnerList.AddRange(processModules);
29  }
30 
34  public int IndexOf(ProcessModule module)
35  {
36  return base.InnerList.IndexOf(module);
37  }
38 
43  public bool Contains(ProcessModule module)
44  {
45  return base.InnerList.Contains(module);
46  }
47 
51  public void CopyTo(ProcessModule[] array, int index)
52  {
53  base.InnerList.CopyTo(array, index);
54  }
55  }
56 }
Definition: __Canon.cs:3
Provides a strongly typed collection of T:System.Diagnostics.ProcessModule objects.
Provides the abstract base class for a strongly typed non-generic read-only collection.
Represents a.dll or .exe file that is loaded into a particular process.
ProcessModuleCollection()
Initializes a new instance of the T:System.Diagnostics.ProcessModuleCollection class,...
void CopyTo(ProcessModule[] array, int index)
Copies an array of T:System.Diagnostics.ProcessModule instances to the collection,...
ProcessModuleCollection(ProcessModule[] processModules)
Initializes a new instance of the T:System.Diagnostics.ProcessModuleCollection class,...
int IndexOf(ProcessModule module)
Provides the location of a specified module within the collection.
bool Contains(ProcessModule module)
Determines whether the specified process module exists in the collection.