CommandLookupEventArgs Properties

 

Updated: April 27, 2016

Applies To: Windows PowerShell

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

NameDescription
System_CAPS_pubpropertyCommand

Gets or sets the CommandInfo object for the command that was found. Introduced in Windows PowerShell 3.0.

System_CAPS_pubpropertyCommandName

Gets or sets the name of the command to be found. Introduced in Windows PowerShell 3.0.

System_CAPS_pubpropertyCommandOrigin

Gets the origin of the command (internal) or runspace (external). Introduced in Windows PowerShell 3.0.

System_CAPS_pubpropertyCommandScriptBlock

Gets or sets the script block to be returned as the found command. If it is set to null, the command to return and the StopSearch flag are reset. Introduced in Windows PowerShell 3.0.

System_CAPS_pubpropertyStopSearch

Gets or sets a value that indicates whether to stop the command lookup upon return from the event handler. Introduced in Windows PowerShell 3.0.

Return to top

Community Additions

ADD
Show: