PSConsoleReadLine.ReadLine(Runspace, EngineIntrinsics) Method

Definition

Entry point - called from the PowerShell function PSConsoleHostReadLine after the prompt has been displayed.

public:
 static System::String ^ ReadLine(System::Management::Automation::Runspaces::Runspace ^ runspace, System::Management::Automation::EngineIntrinsics ^ engineIntrinsics);
public static string ReadLine (System.Management.Automation.Runspaces.Runspace runspace, System.Management.Automation.EngineIntrinsics engineIntrinsics);
static member ReadLine : System.Management.Automation.Runspaces.Runspace * System.Management.Automation.EngineIntrinsics -> string
Public Shared Function ReadLine (runspace As Runspace, engineIntrinsics As EngineIntrinsics) As String

Parameters

runspace
Runspace
engineIntrinsics
EngineIntrinsics

Returns

The complete command line.

Applies to