PSEventArgsCollection Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This class contains the collection of events received by the execution context.
public ref class PSEventArgsCollection : System::Collections::Generic::IEnumerable<System::Management::Automation::PSEventArgs ^>
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
-
PSEventArgsCollection
- Implements
Count |
Removes an item at a specific index from the collection. |
Item[Int32] |
Gets an item at a specific index from the collection. |
Sync |
Get the synchronization root for this collection. |
Get |
Get the enumerator of this collection. |
Remove |
Removes an item at a specific index from the collection. |
PSEvent |
The event generated when a new event is received. |
IEnumerable. |
Get the enumerator of this collection. |
Produit | Versions |
---|---|
PowerShell SDK | 7.2.0, 7.3.0, 7.4.0 |
Windows PowerShell | 5.1.0.0 |