Windows Dev Center

CommandInvocationIntrinsics.PostCommandLookupAction Property

Gets or sets the event handler that is called after the command lookup is done but before the event object is returned to the caller, to allow other events, such as interning scripts, to work correctly. Introduced in Windows PowerShell 3.0.

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

Dim instance As CommandInvocationIntrinsics
Dim value As EventHandler(Of CommandLookupEventArgs)

value = instance.PostCommandLookupAction

instance.PostCommandLookupAction = value

public EventHandler<CommandLookupEventArgs> PostCommandLookupAction { get; set; }
/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public EventHandler<CommandLookupEventArgs> get_PostCommandLookupAction ()

/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public void set_PostCommandLookupAction (EventHandler<CommandLookupEventArgs> value)

public function get PostCommandLookupAction () : EventHandler<CommandLookupEventArgs>

public function set PostCommandLookupAction (value : EventHandler<CommandLookupEventArgs>)

Property Value

An EventHandler of type CommandLookupEventArgs.

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


Target Platforms

© 2015 Microsoft