DataAddedEventArgs Class

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Event arguments passed to DataAdded handlers of a PSDataCollection<T> buffer. This class is introduced in Windows PowerShell 2.0.

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

System.Object
  System.EventArgs
    System.Management.Automation.DataAddedEventArgs

public sealed class DataAddedEventArgs : EventArgs

NameDescription
System_CAPS_pubpropertyIndex

Gets the index (zero-based) where the data is added. This property is introduced in Windows PowerShell 2.0.

System_CAPS_pubpropertyPowerShellInstanceId

Gets PowerShell InstanceId which added this data. Guid.Empty, if the data is not added by a PowerShell instance.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

A PSDataCollection<T> buffer is a thread-safe buffer that is used by hosting applications.

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: