ProcessModuleCollection ProcessModuleCollection ProcessModuleCollection ProcessModuleCollection Class

Definizione

Fornisce una raccolta fortemente tipizzata di oggetti ProcessModule.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
Ereditarietà
ProcessModuleCollectionProcessModuleCollectionProcessModuleCollectionProcessModuleCollection

Commenti

Un modulo è un file eseguibile o una libreria a collegamento dinamico (DLL).A module is an executable file or a dynamic link library (DLL). Ogni processo è costituito da uno o più moduli.Each process consists of one or more modules. È possibile usare questa classe per scorrere una raccolta di moduli di processo nel sistema.You can use this class to iterate over a collection of process modules on the system. Un modulo viene identificato in base al nome del modulo e al percorso completo del file.A module is identified by its module name and fully qualified file path.

Costruttori

ProcessModuleCollection() ProcessModuleCollection() ProcessModuleCollection() ProcessModuleCollection()

Inizializza una nuova istanza della classe ProcessModuleCollection senza istanze di ProcessModule associate.Initializes a new instance of the ProcessModuleCollection class, with no associated ProcessModule instances.

ProcessModuleCollection(ProcessModule[]) ProcessModuleCollection(ProcessModule[]) ProcessModuleCollection(ProcessModule[]) ProcessModuleCollection(ProcessModule[])

Consente di inizializzare una nuova istanza della classe ProcessModuleCollection utilizzando la matrice specificata di istanze ProcessModule.Initializes a new instance of the ProcessModuleCollection class, using the specified array of ProcessModule instances.

Proprietà

Capacity Capacity Capacity Capacity
Count Count Count Count
InnerList InnerList InnerList InnerList

Ottiene l'elenco degli elementi contenuti nell'istanza ReadOnlyCollectionBase.Gets the list of elements contained in the ReadOnlyCollectionBase instance.

(Inherited from ReadOnlyCollectionBase)
Item[Int32] Item[Int32] Item[Int32] Item[Int32]

Ottiene un indice per scorrere l'insieme di moduli di processo.Gets an index for iterating over the set of process modules.

Metodi

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

Determina se il modulo di processo specificato è contenuto nell'insieme.Determines whether the specified process module exists in the collection.

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

Copia una matrice di istanze ProcessModule nell'insieme, in corrispondenza dell'indice specificato.Copies an array of ProcessModule instances to the collection, at the specified index.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determina se l'oggetto specificato è uguale all'oggetto corrente.Determines whether the specified object is equal to the current object.

(Inherited from Object)
Exists(Predicate<ProcessModule>) Exists(Predicate<ProcessModule>) Exists(Predicate<ProcessModule>) Exists(Predicate<ProcessModule>)
Find(Predicate<ProcessModule>) Find(Predicate<ProcessModule>) Find(Predicate<ProcessModule>) Find(Predicate<ProcessModule>)
FindAll(Predicate<ProcessModule>) FindAll(Predicate<ProcessModule>) FindAll(Predicate<ProcessModule>) FindAll(Predicate<ProcessModule>)
FindIndex(Int32, Int32, Predicate<ProcessModule>) FindIndex(Int32, Int32, Predicate<ProcessModule>) FindIndex(Int32, Int32, Predicate<ProcessModule>) FindIndex(Int32, Int32, Predicate<ProcessModule>)
FindIndex(Int32, Predicate<ProcessModule>) FindIndex(Int32, Predicate<ProcessModule>) FindIndex(Int32, Predicate<ProcessModule>) FindIndex(Int32, Predicate<ProcessModule>)
FindIndex(Predicate<ProcessModule>) FindIndex(Predicate<ProcessModule>) FindIndex(Predicate<ProcessModule>) FindIndex(Predicate<ProcessModule>)
FindLast(Predicate<ProcessModule>) FindLast(Predicate<ProcessModule>) FindLast(Predicate<ProcessModule>) FindLast(Predicate<ProcessModule>)
FindLastIndex(Int32, Int32, Predicate<ProcessModule>) FindLastIndex(Int32, Int32, Predicate<ProcessModule>) FindLastIndex(Int32, Int32, Predicate<ProcessModule>) FindLastIndex(Int32, Int32, Predicate<ProcessModule>)
FindLastIndex(Int32, Predicate<ProcessModule>) FindLastIndex(Int32, Predicate<ProcessModule>) FindLastIndex(Int32, Predicate<ProcessModule>) FindLastIndex(Int32, Predicate<ProcessModule>)
FindLastIndex(Predicate<ProcessModule>) FindLastIndex(Predicate<ProcessModule>) FindLastIndex(Predicate<ProcessModule>) FindLastIndex(Predicate<ProcessModule>)
ForEach(Action<ProcessModule>) ForEach(Action<ProcessModule>) ForEach(Action<ProcessModule>) ForEach(Action<ProcessModule>)
GetEnumerator() GetEnumerator() GetEnumerator() GetEnumerator()
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Funge da funzione hash predefinita.Serves as the default hash function.

(Inherited from Object)
GetRange(Int32, Int32) GetRange(Int32, Int32) GetRange(Int32, Int32) GetRange(Int32, Int32)
GetType() GetType() GetType() GetType()

Ottiene l'oggetto Type dell'istanza corrente.Gets the Type of the current instance.

(Inherited from Object)
IndexOf(ProcessModule) IndexOf(ProcessModule) IndexOf(ProcessModule) IndexOf(ProcessModule)

Fornisce la posizione di un modulo specificato nell'insieme.Provides the location of a specified module within the collection.

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

Crea una copia superficiale dell'oggetto Object corrente.Creates a shallow copy of the current Object.

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

Restituisce una stringa che rappresenta l'oggetto corrente.Returns a string that represents the current object.

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

Implementazioni dell'interfaccia esplicita

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

Metodi di estensione

Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable)

Esegue il cast degli elementi di un oggetto IEnumerable nel tipo specificato.Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable)

Filtra gli elementi di un oggetto IEnumerable in base a un tipo specificato.Filters the elements of an IEnumerable based on a specified type.

AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable)

Consente la parallelizzazione di una query.Enables parallelization of a query.

AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable)

Converte un oggetto IEnumerable in un oggetto IQueryable.Converts an IEnumerable to an IQueryable.

Si applica a

Vedi anche