PSEventArgsCollection PSEventArgsCollection PSEventArgsCollection Class

Definition

This class contains the collection of events received by the execution context.

public class PSEventArgsCollection : System.Collections.Generic.IEnumerable<System.Management.Automation.PSEventArgs>
type PSEventArgsCollection = class
    interface seq<PSEventArgs>
    interface IEnumerable
Public Class PSEventArgsCollection
Implements IEnumerable(Of PSEventArgs)
Inheritance
PSEventArgsCollectionPSEventArgsCollectionPSEventArgsCollection
Implements

Constructors

PSEventArgsCollection() PSEventArgsCollection() PSEventArgsCollection()

Properties

Count Count Count

Removes an item at a specific index from the collection

Item[Int32] Item[Int32] Item[Int32]

Gets an item at a specific index from the collection

SyncRoot SyncRoot SyncRoot

Get the synchronization root for this collection

Methods

GetEnumerator() GetEnumerator() GetEnumerator()

Get the enumerator of this collection

RemoveAt(Int32) RemoveAt(Int32) RemoveAt(Int32)

Removes an item at a specific index from the collection

Events

PSEventReceived PSEventReceived PSEventReceived

The event generated when a new event is received

Explicit Interface Implementations

IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() IEnumerable.GetEnumerator()

Get the enumerator of this collection

Applies to