ProcessModuleCollection Třída
Definice
Poskytuje kolekci objektů se silným typem ProcessModule .Provides a strongly typed collection of ProcessModule objects.
public ref class ProcessModuleCollection : System::Collections::ReadOnlyCollectionBase
public ref class ProcessModuleCollection : System::Collections::ICollection
public class ProcessModuleCollection : System.Collections.ReadOnlyCollectionBase
public class ProcessModuleCollection : System.Collections.ICollection
type ProcessModuleCollection = class
inherit ReadOnlyCollectionBase
type ProcessModuleCollection = class
interface ICollection
interface IEnumerable
Public Class ProcessModuleCollection
Inherits ReadOnlyCollectionBase
Public Class ProcessModuleCollection
Implements ICollection
- Dědičnost
- Dědičnost
-
ProcessModuleCollection
- Implementuje
Poznámky
Modul je spustitelný soubor nebo knihovna DLL (Dynamic Link Library).A module is an executable file or a dynamic link library (DLL). Každý proces se skládá z jednoho nebo více modulů.Each process consists of one or more modules. Tuto třídu můžete použít k iteraci v kolekci modulů procesů v systému.You can use this class to iterate over a collection of process modules on the system. Modul je identifikovaný názvem jeho modulu a plně kvalifikovanou cestou k souboru.A module is identified by its module name and fully qualified file path.
Konstruktory
ProcessModuleCollection() |
Inicializuje novou instanci ProcessModuleCollection třídy bez přidružených ProcessModule instancí.Initializes a new instance of the ProcessModuleCollection class, with no associated ProcessModule instances. |
ProcessModuleCollection(ProcessModule[]) |
Inicializuje novou instanci ProcessModuleCollection třídy pomocí zadaného pole ProcessModule instancí.Initializes a new instance of the ProcessModuleCollection class, using the specified array of ProcessModule instances. |
Vlastnosti
Capacity | |
Count |
Získá počet prvků obsažených v kolekci.Gets the number of elements contained in the collection. |
Count |
Získá počet prvků obsažených v ReadOnlyCollectionBase instanci.Gets the number of elements contained in the ReadOnlyCollectionBase instance. (Zděděno od ReadOnlyCollectionBase) |
InnerList |
Získá seznam elementů obsažených v ReadOnlyCollectionBase instanci.Gets the list of elements contained in the ReadOnlyCollectionBase instance. (Zděděno od ReadOnlyCollectionBase) |
Item[Int32] |
Získá index pro iteraci v sadě procesových modulů.Gets an index for iterating over the set of process modules. |
Metody
Explicitní implementace rozhraní
ICollection.CopyTo(Array, Int32) |
Zkopíruje prvky kolekce do pole, které začíná na určitém indexu pole.Copies the elements of the collection to an array, starting at a particular array index. |
ICollection.CopyTo(Array, Int32) |
Zkopíruje celý ReadOnlyCollectionBase na kompatibilní jednorozměrné Array , počínaje zadaným indexem cílového pole.Copies the entire ReadOnlyCollectionBase to a compatible one-dimensional Array, starting at the specified index of the target array. (Zděděno od ReadOnlyCollectionBase) |
ICollection.IsSynchronized |
Načte hodnotu, která označuje, jestli je přístup ke kolekci synchronizovaný (bezpečná pro vlákno).Gets a value indicating whether access to the collection is synchronized (thread safe). |
ICollection.IsSynchronized |
Načte hodnotu, která označuje, jestli je přístup k ReadOnlyCollectionBase objektu synchronizovaný (bezpečná pro vlákno).Gets a value indicating whether access to a ReadOnlyCollectionBase object is synchronized (thread safe). (Zděděno od ReadOnlyCollectionBase) |
ICollection.SyncRoot |
Získá objekt, který lze použít k synchronizaci přístupu do kolekce.Gets an object that can be used to synchronize access to the collection. |
ICollection.SyncRoot |
Získává objekt, který lze použít k synchronizaci přístupu k ReadOnlyCollectionBase objektu.Gets an object that can be used to synchronize access to a ReadOnlyCollectionBase object. (Zděděno od ReadOnlyCollectionBase) |
Metody rozšíření
Cast<TResult>(IEnumerable) |
Přetypování prvky IEnumerable na zadaný typ.Casts the elements of an IEnumerable to the specified type. |
OfType<TResult>(IEnumerable) |
Filtruje prvky IEnumerable založené na zadaném typu.Filters the elements of an IEnumerable based on a specified type. |
AsParallel(IEnumerable) |
Povoluje paralelní zpracování dotazu.Enables parallelization of a query. |
AsQueryable(IEnumerable) |
Převede IEnumerable na IQueryable .Converts an IEnumerable to an IQueryable. |