ProcessThreadCollection Třída

Definice

Poskytuje kolekci ProcessThread objektů se silným typem.

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
Dědičnost
ProcessThreadCollection
Dědičnost
ProcessThreadCollection
Implementuje

Konstruktory

ProcessThreadCollection()

Inicializuje novou instanci ProcessThreadCollection třídy bez přidružených ProcessThread instancí.

ProcessThreadCollection(ProcessThread[])

Inicializuje novou instanci ProcessThreadCollection třídy pomocí zadané pole ProcessThread instancí.

Vlastnosti

Capacity
Count

Získá počet prvků obsažených v kolekci.

Count

Získá počet prvků obsažených v ReadOnlyCollectionBase instanci.

(Zděděno od ReadOnlyCollectionBase)
InnerList

Získá seznam prvků obsažených v ReadOnlyCollectionBase instanci.

(Zděděno od ReadOnlyCollectionBase)
Item[Int32]

Získá index pro iteraci přes sadu procesových vláken.

Metody

Add(ProcessThread)

Připojí vlákno procesu do kolekce.

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

Určuje, zda zadané vlákno procesu existuje v kolekci.

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

Zkopíruje pole ProcessThread instancí do kolekce v zadaném indexu.

Equals(Object)

Určí, zda se zadaný objekt rovná aktuálnímu objektu.

(Zděděno od 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()

Vrací enumerátor procházející kolekci.

GetEnumerator()

Vrátí výčet, který iteruje prostřednictvím ReadOnlyCollectionBase instance.

(Zděděno od ReadOnlyCollectionBase)
GetHashCode()

Slouží jako výchozí funkce hash.

(Zděděno od Object)
GetRange(Int32, Int32)
GetType()

Type Získá aktuální instanci.

(Zděděno od Object)
IndexOf(ProcessThread)

Poskytuje umístění zadaného vlákna v rámci kolekce.

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

Vloží vlákno procesu do zadaného umístění v kolekci.

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

Vytvoří použádnou kopii aktuálního souboru Object.

(Zděděno od Object)
Remove(ProcessThread)

Odstraní vlákno procesu z kolekce.

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()

Vrátí řetězec, který představuje aktuální objekt.

(Zděděno od Object)
TrimExcess()
TrueForAll(Predicate<ProcessThread>)

Explicitní implementace rozhraní

ICollection.CopyTo(Array, Int32)

Zkopíruje prvky kolekce do pole počínaje konkrétním indexem pole.

ICollection.CopyTo(Array, Int32)

Zkopíruje celý ReadOnlyCollectionBase objekt do kompatibilního jednorozměrného Array, počínaje zadaným indexem cílového pole.

(Zděděno od ReadOnlyCollectionBase)
ICollection.IsSynchronized

Získá hodnotu určující, zda je přístup k kolekci synchronizován (bezpečné vlákno).

ICollection.IsSynchronized

Získá hodnotu označující, zda je přístup k objektu ReadOnlyCollectionBase synchronizován (bezpečné vlákno).

(Zděděno od ReadOnlyCollectionBase)
ICollection.SyncRoot

Získá objekt, který lze použít k synchronizaci přístupu k kolekci.

ICollection.SyncRoot

Získá objekt, který lze použít k synchronizaci přístupu k objektu ReadOnlyCollectionBase .

(Zděděno od ReadOnlyCollectionBase)

Metody rozšíření

Cast<TResult>(IEnumerable)

Přetypuje prvky zadaného IEnumerable typu.

OfType<TResult>(IEnumerable)

Filtruje prvky IEnumerable založené na zadaném typu.

AsParallel(IEnumerable)

Umožňuje paralelizaci dotazu.

AsQueryable(IEnumerable)

Převede na IEnumerable IQueryable.

Platí pro