Partager via


CommandLookupEventArgs.CommandScriptBlock Property

Definition

Scriptblock to be returned as the found command. If it is set to null, then the command to return and the StopSearch flag will be reset.

public:
 property System::Management::Automation::ScriptBlock ^ CommandScriptBlock { System::Management::Automation::ScriptBlock ^ get(); void set(System::Management::Automation::ScriptBlock ^ value); };
public System.Management.Automation.ScriptBlock CommandScriptBlock { get; set; }
member this.CommandScriptBlock : System.Management.Automation.ScriptBlock with get, set
Public Property CommandScriptBlock As ScriptBlock

Property Value

Applies to