Windows Dev Center

PSDataCollection.DataAdding Event

Occurs when objects are being added to the underlying buffer. Introduced in Windows PowerShell 3.0.

Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation.dll)

Dim instance As PSDataCollection(Of T)
Dim handler As EventHandler(Of DataAddingEventArgs)

AddHandler instance.DataAdding, handler

public event EventHandler<DataAddingEventArgs> DataAdding
/** @event */
public void add_DataAdding (EventHandler<DataAddingEventArgs> value)

/** @event */
public void remove_DataAdding (EventHandler<DataAddingEventArgs> value)


Target Platforms

© 2015 Microsoft