共用方式為


DataAddingEventArgs Class

Definition

Event arguments passed to PSDataCollection DataAdding handlers.

public ref class DataAddingEventArgs sealed : EventArgs
public sealed class DataAddingEventArgs : EventArgs
type DataAddingEventArgs = class
    inherit EventArgs
Public NotInheritable Class DataAddingEventArgs
Inherits EventArgs
Inheritance
DataAddingEventArgs

Properties

ItemAdded

The item about to be added.

PowerShellInstanceId

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

Applies to