mscorlib(4.0.0.0) API with additions
ProcessThreadCollection.cs
1 using System.Collections;
2 
3 namespace System.Diagnostics
4 {
7  {
11  public ProcessThread this[int index]
12  {
13  get
14  {
15  return (ProcessThread)base.InnerList[index];
16  }
17  }
18 
21  {
22  }
23 
26  public ProcessThreadCollection(ProcessThread[] processThreads)
27  {
28  base.InnerList.AddRange(processThreads);
29  }
30 
34  public int Add(ProcessThread thread)
35  {
36  return base.InnerList.Add(thread);
37  }
38 
42  public void Insert(int index, ProcessThread thread)
43  {
44  base.InnerList.Insert(index, thread);
45  }
46 
50  public int IndexOf(ProcessThread thread)
51  {
52  return base.InnerList.IndexOf(thread);
53  }
54 
59  public bool Contains(ProcessThread thread)
60  {
61  return base.InnerList.Contains(thread);
62  }
63 
66  public void Remove(ProcessThread thread)
67  {
68  base.InnerList.Remove(thread);
69  }
70 
74  public void CopyTo(ProcessThread[] array, int index)
75  {
76  base.InnerList.CopyTo(array, index);
77  }
78  }
79 }
void Insert(int index, ProcessThread thread)
Inserts a process thread at the specified location in the collection.
Represents an operating system process thread.
Provides a strongly typed collection of T:System.Diagnostics.ProcessThread objects.
int IndexOf(ProcessThread thread)
Provides the location of a specified thread within the collection.
Definition: __Canon.cs:3
Provides the abstract base class for a strongly typed non-generic read-only collection.
int Add(ProcessThread thread)
Appends a process thread to the collection.
void Remove(ProcessThread thread)
Deletes a process thread from the collection.
ProcessThreadCollection()
Initializes a new instance of the T:System.Diagnostics.ProcessThreadCollection class,...
void CopyTo(ProcessThread[] array, int index)
Copies an array of T:System.Diagnostics.ProcessThread instances to the collection,...
bool Contains(ProcessThread thread)
Determines whether the specified process thread exists in the collection.
ProcessThreadCollection(ProcessThread[] processThreads)
Initializes a new instance of the T:System.Diagnostics.ProcessThreadCollection class,...