PSConsoleReadLine.ReadLine(Runspace, EngineIntrinsics) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.